mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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:
parent
b677edfa1b
commit
55fbf0b780
3 changed files with 26 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue