diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 5ce14728ee..b4a801b896 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1375,6 +1375,7 @@ typedef enum { 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_res_event_fixed_param, + WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_stats_struct, } WMITLV_TAG_ID; /* * 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_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_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); /* diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 7004e1bfa0..72d16c7acd 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -14372,7 +14372,18 @@ typedef struct { * Refer to WMI_VDEV_STATS_FLAGS_ defs. */ 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: * 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_3; 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) \ @@ -34193,6 +34204,7 @@ typedef enum { WMI_REQUEST_CTRL_PATH_T2LM_STAT = 14, WMI_REQUEST_CTRL_PATH_BLANKING_STAT = 15, WMI_REQUEST_CTRL_PATH_PEER_STAT = 16, + WMI_REQUEST_CTRL_PATH_VDEV_DEBUG_STAT = 17, } wmi_ctrl_path_stats_id; typedef enum { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 3a8dbed880..69a363238d 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * 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 * host and firmware of the same WMI namespace will work