Эх сурвалжийг харах

qcacmn: Parse tx and rx rate count from peer extd stats

Based on the new requirement, fw fills the tx rate count and
rx count per mcs index in the peer extd stats event.
Add logic to parse tx rate count and rx rate count from peer
extd stats event.

Change-Id: I13382366f52964b83eb26473fa03267ac7309bb9
CRs-Fixed: 3289779
Ashish Kumar Dhanotiya 2 жил өмнө
parent
commit
b8e6415c0b

+ 10 - 0
wmi/inc/wmi_unified_priv.h

@@ -2107,6 +2107,16 @@ QDF_STATUS (*extract_peer_stats_count)(wmi_unified_t wmi_handle, void *evt_buf,
 
 
 QDF_STATUS (*extract_peer_stats_info)(wmi_unified_t wmi_handle, void *evt_buf,
 QDF_STATUS (*extract_peer_stats_info)(wmi_unified_t wmi_handle, void *evt_buf,
 		uint32_t index, wmi_host_peer_stats_info *peer_stats_info);
 		uint32_t index, wmi_host_peer_stats_info *peer_stats_info);
+
+QDF_STATUS
+(*extract_peer_tx_pkt_per_mcs)(wmi_unified_t wmi_handle, void *evt_buf,
+			       uint32_t index,
+			       wmi_host_peer_stats_info *peer_stats_info);
+QDF_STATUS
+(*extract_peer_rx_pkt_per_mcs)(wmi_unified_t wmi_handle, void *evt_buf,
+			       uint32_t index,
+			       wmi_host_peer_stats_info *peer_stats_info);
+
 #endif /* QCA_SUPPORT_MC_CP_STATS */
 #endif /* QCA_SUPPORT_MC_CP_STATS */
 
 
 QDF_STATUS
 QDF_STATUS