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

Change-Id: I82e817bccdfd2c138e905549e27b8a12d5b9899c
WMI: add peer-level per-MCS tx + rx counters
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2022-09-01 12:02:38 -07:00 • committed by Madan Koyyalamudi
commit 55fbf0b780
3 changed files with 26 additions and 2 deletions

View file

@ -6565,7 +6565,9 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENCRYPT_DECRYPT_DATA_RESP_EVENTID);
#define WMITLV_TABLE_WMI_PEER_STATS_INFO_EVENTID(id, op, buf, len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_stats_info_event_fixed_param, wmi_peer_stats_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR)
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_peer_stats_info, peer_stats_info, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, tx_rate_counts, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, rx_rate_counts, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_STATS_INFO_EVENTID);
/* Update Control Path stats event */

View file

@ -11354,6 +11354,28 @@ typedef struct {
* values).
*/
A_INT32 peer_rssi_per_chain[WMI_MAX_CHAINS];
/* show how many elements in the tx_rate_counts array belong to this peer */
A_UINT32 num_tx_rate_counts;
/* show how many elements in the rx_rate_counts array belong to this peer */
A_UINT32 num_rx_rate_counts;
/* This TLV array is followed by other TLVs:
* A_UINT32 tx_rate_counts[sum(num_tx_rate_counts)];
* The above num_tx_rate_counts field shows which elements
* within the tx_rate_counts array belong to a given peer.
* Elements tx_rate_counts[0] to tx_rate_counts[N0-1] belong to
* peer 0, where N0 = peer_stats_info[0].num_tx_rate_counts.
* Elements tx_rate_counts[N0] to tx_rate_counts[N0+N1-1] belong to
* peer 1, where N1 = peer_stats_info[1].num_tx_rate_counts.
* etc.
* A_UINT32 rx_rate_counts[sum(num_rx_rate_counts)];
* The above num_rx_rate_counts field shows which elements
* within the rx_rate_counts array belong to a given peer.
* Elements rx_rate_counts[0] to rx_rate_counts[N0-1] belong to
* peer 0, where N0 = peer_stats_info[0].num_rx_rate_counts.
* Elements rx_rate_counts[N0] to rx_rate_counts[N0+N1-1] belong to
* peer 1, where N1 = peer_stats_info[1].num_rx_rate_counts.
* etc.
*/
} wmi_peer_stats_info;
typedef struct {

View file

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