fw-api: CL 22650243 - update fw common interface files

Change-Id: Ia0a40e5ec464ee4b1e0b5b70b4e245d05993202e
WMI: split ctrl_path_vdev_stats out from vdev_extd_stats
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2023-04-20 06:01:05 -07:00
committed by Madan Koyyalamudi
parent ad526ef0e2
commit 908c59cee5
3 changed files with 17 additions and 3 deletions

View File

@@ -1375,6 +1375,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_vdev_pause_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param, WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param,
WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_stats_struct,
} WMITLV_TAG_ID; } WMITLV_TAG_ID;
/* /*
* IMPORTANT: Please add _ALL_ WMI Commands Here. * IMPORTANT: Please add _ALL_ WMI Commands Here.
@@ -6839,7 +6840,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_cfr_stats_struct, ctrl_path_cfr_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_cfr_stats_struct, ctrl_path_cfr_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_t2lm_stats_struct, ctrl_path_t2lm_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_t2lm_stats_struct, ctrl_path_t2lm_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_blanking_stats_struct, ctrl_path_blanking_stats, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_blanking_stats_struct, ctrl_path_blanking_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_peer_stats_struct, ctrl_path_peer_stats, WMITLV_SIZE_VAR) WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_peer_stats_struct, ctrl_path_peer_stats, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_ctrl_path_vdev_stats_struct, ctrl_path_vdev_stats, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID); WMITLV_CREATE_PARAM_STRUC(WMI_CTRL_PATH_STATS_EVENTID);
/* /*

View File

@@ -14372,7 +14372,18 @@ typedef struct {
* Refer to WMI_VDEV_STATS_FLAGS_ defs. * Refer to WMI_VDEV_STATS_FLAGS_ defs.
*/ */
A_UINT32 flags; A_UINT32 flags;
} wmi_vdev_extd_stats;
/**
* Vdev debug stats to be used for wmi control path stats.
* This is an extension to vdev_extd_stats,
* vdev_extd_stats display is part of apstats.
*/
typedef struct {
/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_stats_struct */
A_UINT32 tlv_header;
/* vdev id */
A_UINT32 vdev_id;
/** opaque_debug_wal_vdev_flags: /** opaque_debug_wal_vdev_flags:
* This will contain the value from wal_vdev wal vdev flags for vdev state * This will contain the value from wal_vdev wal vdev flags for vdev state
*/ */
@@ -14811,7 +14822,7 @@ typedef struct {
A_UINT32 opaque_debug_field_2; A_UINT32 opaque_debug_field_2;
A_UINT32 opaque_debug_field_3; A_UINT32 opaque_debug_field_3;
A_UINT32 opaque_debug_field_4; A_UINT32 opaque_debug_field_4;
} wmi_vdev_extd_stats; } wmi_ctrl_path_vdev_stats_struct;
#define WMI_VDEV_STATS_DIS_DYN_BW_RTS_SET(flag, val) \ #define WMI_VDEV_STATS_DIS_DYN_BW_RTS_SET(flag, val) \
@@ -34193,6 +34204,7 @@ typedef enum {
WMI_REQUEST_CTRL_PATH_T2LM_STAT = 14, WMI_REQUEST_CTRL_PATH_T2LM_STAT = 14,
WMI_REQUEST_CTRL_PATH_BLANKING_STAT = 15, WMI_REQUEST_CTRL_PATH_BLANKING_STAT = 15,
WMI_REQUEST_CTRL_PATH_PEER_STAT = 16, WMI_REQUEST_CTRL_PATH_PEER_STAT = 16,
WMI_REQUEST_CTRL_PATH_VDEV_DEBUG_STAT = 17,
} wmi_ctrl_path_stats_id; } wmi_ctrl_path_stats_id;
typedef enum { typedef enum {

View File

@@ -37,7 +37,7 @@
#define __WMI_VER_MINOR_ 0 #define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a /** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */ * change that may or may not break compatibility. */
#define __WMI_REVISION_ 1323 #define __WMI_REVISION_ 1324
/** The Version Namespace should not be normally changed. Only /** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work * host and firmware of the same WMI namespace will work