qcacmn: Add WMI support for peer_extd2 stats

Add the necessary support for peer_extd2 stats in the WMI layer. The
stats contain rx_bytes, rx_err and rx_mpdus

Change-Id: I9f787e28a8e128471489c8f47ac03fef77dae930
CRs-Fixed: 2395636
This commit is contained in:
Sourav Mohapatra
2019-02-08 17:50:49 +05:30
committed by nshrivas
parent 90f688d589
commit 9a6ee7d0ce
5 changed files with 106 additions and 9 deletions

View File

@@ -116,7 +116,8 @@ typedef qdf_nbuf_t wmi_buf_t;
#define WMI_LOGP(args ...) \
QDF_TRACE(QDF_MODULE_ID_WMI, QDF_TRACE_LEVEL_FATAL, ## args)
/* Number of bits to shift to combine 32 bit integer to 64 bit */
#define WMI_LOWER_BITS_SHIFT_32 0x20
#define PHYERROR_MAX_BUFFER_LENGTH 0x7F000000
@@ -1222,6 +1223,10 @@ QDF_STATUS wmi_extract_peer_extd_stats(void *wmi_hdl, void *evt_buf,
uint32_t index,
wmi_host_peer_extd_stats *peer_extd_stats);
QDF_STATUS wmi_extract_peer_adv_stats(wmi_unified_t wmi_handle, void *evt_buf,
struct wmi_host_peer_adv_stats
*peer_adv_stats);
QDF_STATUS wmi_extract_bss_chan_info_event(void *wmi_hdl, void *evt_buf,
wmi_host_pdev_bss_chan_info_event *bss_chan_info);