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

add optional cfg_retry_count + retry_count fields to WMI_REQUEST_STATS_CMD message

Change-Id: Idad9b3c2b9335e0baa9466ab3bc3922745af08c9
CRs-Fixed: 1107600
This commit is contained in:
Sandeep Puligilla 2017-03-03 11:01:02 -08:00 • committed by Gerrit - the friendly Code Review server
commit 4b23928ea5
3 changed files with 21 additions and 2 deletions

View file

@ -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);

View file

@ -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 */

View file

@ -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