qcacmn: Fix BW mapping on host and add Tx nss stat

Stats counters for BW were not printed correctly due to difference in
mapping of BW on host and FW.

Also added Tx NSS stats during aggregate vdev stats

Change-Id: I348a5f9f974544ffe17ba403cd64769eff05c9b5
CRs-Fixed: 2203582
This commit is contained in:
Prathyusha Guduri
2018-03-15 11:36:49 +05:30
committed by nshrivas
vanhempi 2438a563c5
commit 668c22c96b
2 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa

Näytä tiedosto

@@ -249,9 +249,10 @@ while (0)
DP_STATS_AGGR(_tgtobj, _srcobj, rx.bw[i]); \
} \
\
for (i = 0; i < SS_COUNT; i++) \
for (i = 0; i < SS_COUNT; i++) { \
DP_STATS_AGGR(_tgtobj, _srcobj, rx.nss[i]); \
\
DP_STATS_AGGR(_tgtobj, _srcobj, tx.nss[i]); \
} \
for (i = 0; i < WME_AC_MAX; i++) { \
DP_STATS_AGGR(_tgtobj, _srcobj, tx.wme_ac_type[i]); \
DP_STATS_AGGR(_tgtobj, _srcobj, rx.wme_ac_type[i]); \