diff options
| author | gaolez <gaolez@codeaurora.org> | 2017-04-14 16:37:05 +0800 |
|---|---|---|
| committer | gaolez <gaolez@codeaurora.org> | 2017-04-14 16:38:47 +0800 |
| commit | 157e6d15d5bcd529eeb608c58bb444b9a2ce1882 (patch) | |
| tree | 649d334d8de36d85d6b97a2df569d22ea23f5aee | |
| parent | b4871e7954313d66193ffdb8b4a30aebdd126274 (diff) | |
qcacld-2.0: CL 2897302 - update fw common interface files
add optional cfg_retry_count + retry_count fields to
WMI_REQUEST_STATS_CMD message
Change-Id: I624c0349f53b29b56da47ba9ebe5d282fe4a80b7
CRs-fixed: 865207
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_tlv_defs.h | 4 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 17 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
3 files changed, 21 insertions, 2 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h index 137fdb9c4fa6..35998a14bb15 100644 --- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h +++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h @@ -801,6 +801,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; /* @@ -1841,7 +1842,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/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 6b8162f17292..7fcd74d59aed 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -4504,6 +4504,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; @@ -4511,6 +4524,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/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 21ad36beb268..b9e522673dc2 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/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 |
