diff options
| author | Visweswara Tanuku <vtanuku@codeaurora.org> | 2018-10-08 15:49:56 +0530 |
|---|---|---|
| committer | Visweswara Tanuku <vtanuku@codeaurora.org> | 2018-10-08 15:51:34 +0530 |
| commit | 88729b8c71d7604e0fb196a1f56213ce23dcefe2 (patch) | |
| tree | b6496ffb7f25c69685531089ad61ebf6bd74b2bc | |
| parent | 6376fc61e7466bcfe4a136e7122e8f4a78ebdf28 (diff) | |
qcacld-2.0: CL 5433189 - Update fw common interface files
WMI: add peer_extd2_stats with rx MPDU, byte, and FCS counters
CRs-fixed: 865207
Change-Id: Ieec73617648c7e08565dfc62d3ae9faa037bd02c
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 23 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index a83ff170831c..8b5671d2a91a 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -5944,6 +5944,7 @@ typedef enum { WMI_REQUEST_PEER_EXTD_STAT = 0x0400, WMI_REQUEST_BCN_STAT = 0x0800, WMI_REQUEST_BCN_STAT_RESET = 0x1000, + WMI_REQUEST_PEER_EXTD2_STAT = 0x2000, } wmi_stats_id; /* @@ -6567,6 +6568,8 @@ typedef struct { A_UINT32 num_bcn_stats; /** number of extended peer stats event structures (wmi_peer_extd_stats) */ A_UINT32 num_peer_extd_stats; + /** number of extd2 peer stats event structures (wmi_peer_extd2_stats) */ + A_UINT32 num_peer_extd2_stats; /* This TLV is followed by another TLV of array of bytes * A_UINT8 data[]; @@ -7262,6 +7265,26 @@ typedef struct { } wmi_peer_extd_stats; typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_extd2_stats */ + /** peer MAC address */ + wmi_mac_addr peer_macaddr; + /* + * The following rx_bytes field (lower/upper pair) counts only the + * MSDU bytes (after 802.11 decap, if applicable), and thus doesn't + * count the 802.11 header, unlike the wmi_peer_extd_stats.peer_rx_bytes + * and wmi_peer_stats_info.rx_bytes fields. + */ + /** Lower 32 bits of the rx_bytes (size of MSDUs) excluding dot11 header from this peer */ + A_UINT32 rx_bytes_l32; + /** Upper 32 bits of the rx_bytes (size of MSDUs) excluding dot11 header from this peer */ + A_UINT32 rx_bytes_u32; + /** Number of MPDUS received with FCS error from this peer */ + A_UINT32 rx_fcs_err; + /** Number of MPDUs(both data and non data) received from this peer */ + A_UINT32 rx_mpdus; +} wmi_peer_extd2_stats; + +typedef struct { /** Primary channel freq of the channel for which stats are sent */ A_UINT32 chan_mhz; /** Time spent on the channel */ diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 4841cbed152b..cd60b2e14852 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_ 576 +#define __WMI_REVISION_ 577 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
