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

Change-Id: If46e350b4dcde3fb2153790a488358d1e6ca0e56
WMI: add vdev ID bitmap and MLD MAC addr TLVs to 2 stats req msgs
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2021-05-12 06:01:07 -07:00
commit dcedaba015
3 changed files with 18 additions and 3 deletions

View file

@ -2553,14 +2553,18 @@ WMITLV_CREATE_PARAM_STRUC(WMI_CLEAR_LINK_STATS_CMDID);
/* Request stats Cmd */
#define WMITLV_TABLE_WMI_REQUEST_LINK_STATS_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_link_stats_cmd_fixed_param, wmi_request_link_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_link_stats_cmd_fixed_param, wmi_request_link_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_LINK_STATS_CMDID);
/* Request for unified Link Layer and get station stats Cmd */
#define WMITLV_TABLE_WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_unified_ll_get_sta_cmd_fixed_param, wmi_request_unified_ll_get_sta_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_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_inst_rssi_stats_params, inst_rssi_params, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_id_bitmap, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_mac_addr, mld_macaddr, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID);

View file

@ -8466,6 +8466,17 @@ typedef struct {
A_UINT32 stats_clear_req_mask;
/** identifies which peer stats to be cleared. Valid only while clearing PER_REER */
wmi_mac_addr peer_macaddr;
/*
* This TLV is (optionally) followed by other TLVs:
* A_UINT32 vdev_id_bitmap[];
* This array is present and non-zero length in MLO case, stats should
* only be cleared for the VDEVs in vdev_id_bitmap in the bitmap when
* it is present.
* wmi_mac_addr mld_macaddr[];
* This array is present and non-zero length in MLO case, stats should
* only be cleared for the peers with the MLD MAC addresses specified
* in the array.
*/
} wmi_clear_link_stats_cmd_fixed_param;
/* Link Stats configuration params. Trigger the link layer statistics collection*/

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_ 989
#define __WMI_REVISION_ 990
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work