diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 363db645916b..6991c3c17dea 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -808,6 +808,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_vdev_get_arp_stats_event_fixed_param, WMITLV_TAG_STRUC_wmi_iface_offload_stats, + WMITLV_TAG_STRUC_wmi_request_stats_cmd_sub_struc_param, } WMITLV_TAG_ID; /* @@ -1854,7 +1855,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID); /* Request stats Cmd */ #define WMITLV_TABLE_WMI_REQUEST_STATS_CMDID(id,op,buf,len) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param, wmi_request_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param, wmi_request_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_STATS_CMDID); diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 22013b35c86d..efb21a91ee82 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4421,6 +4421,19 @@ typedef enum { WMI_REQUEST_RSSI_PER_CHAIN_STAT = 0x100, } wmi_stats_id; +/* + * cfg_retry_count is set to max number of times the AP should try sending + * QoS Null frames to the STA for measuring the instantaneous RSSI + * + * retry_count is used to maintain the number of times the AP has tried sending + * QoS Null frames to the STA for measuring the instantaneous RSSI + */ +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_request_stats_cmd_sub_struc_param */ + A_UINT32 cfg_retry_count; + A_UINT32 retry_count; +} wmi_inst_rssi_stats_params; + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_request_stats_cmd_fixed_param */ wmi_stats_id stats_id; @@ -4428,6 +4441,10 @@ typedef struct { A_UINT32 vdev_id; /** peer MAC address */ wmi_mac_addr peer_macaddr; +/* + * This TLV is (optionally) followed by other TLVs: + * wmi_inst_rssi_stats_params inst_rssi_params; + */ } wmi_request_stats_cmd_fixed_param; /* stats type bitmap */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index acddabc72a30..70aabfa92cb4 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,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_ 357 +#define __WMI_REVISION_ 358 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work