qcacmn: Accumulate tx and rx airtime consumption stats separately

Accumulate tx and rx airtime consumption stats separately.

Change-Id: I1196ec83d94f73ee35a77a935d5820783e239154
CRs-Fixed: 3388165
This commit is contained in:
Himanshu Batra
2023-01-11 11:15:46 +05:30
committed by Madan Koyyalamudi
parent c50244f2b8
commit 87cf6b8b07
7 changed files with 124 additions and 34 deletions

View File

@@ -2841,7 +2841,8 @@ struct cdp_pdev_telemetry_stats {
* @tx_mpdu_total: Total tx mpdus
* @rx_mpdu_retried: Rx mpdus retried
* @rx_mpdu_total: Total rx mpdus
* @airtime_consumption: airtime consumption of that peer
* @tx_airtime_consumption: tx airtime consumption of that peer
* @rx_airtime_consumption: rx airtime consumption of that peer
* @snr: peer average snr
*/
struct cdp_peer_telemetry_stats {
@@ -2849,7 +2850,8 @@ struct cdp_peer_telemetry_stats {
uint32_t tx_mpdu_total;
uint32_t rx_mpdu_retried;
uint32_t rx_mpdu_total;
uint8_t airtime_consumption[WME_AC_MAX];
uint16_t tx_airtime_consumption[WME_AC_MAX];
uint16_t rx_airtime_consumption[WME_AC_MAX];
uint8_t snr;
};
#endif