qcacmn: Add changes for RDK statistics

Change API signature for dp_getrateindex to populate rate index
and add additional stats required for RDK.
Add QDF abstraction for EWMA average rssi

CRs-Fixed: 2397918
Change-Id: Id878971799c5df2ae60057a86b2769724ee0dcc5
This commit is contained in:
Amir Patel
2019-02-23 10:54:32 +05:30
committed by nshrivas
parent 25ee316744
commit 78824b1d4e
8 changed files with 70 additions and 7 deletions

View File

@@ -137,6 +137,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
uint32_t ratekbps = 0;
uint32_t ppdu_rx_rate = 0;
uint32_t nss = 0;
uint32_t rix;
if (!peer || !ppdu)
return;
@@ -150,7 +151,8 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
ppdu->u.mcs,
nss,
ppdu->u.preamble,
ppdu->u.bw);
ppdu->u.bw,
&rix);
if (!ratekbps)
return;