qcacmn: Correct RX NSS statistics counter for txrx_stats commands
While doing RX NSS statistics counting, only MU_MIMO and MU_OFDMA_ MIMO frames are taken into consideration. So all NSS counter for SU frames are missed. Add RX NSS statistics counting for SU frames. CRs-Fixed: 2228332 Change-Id: I5ee9b8f03177d31f5891a2e4e616b5740fec35f6
This commit is contained in:
@@ -1081,9 +1081,7 @@ static void dp_rx_msdu_stats_update(struct dp_soc *soc,
|
||||
|
||||
DP_STATS_INC(vdev->pdev, rx.bw[bw], 1);
|
||||
DP_STATS_INC(vdev->pdev, rx.reception_type[reception_type], 1);
|
||||
DP_STATS_INCC(vdev->pdev, rx.nss[nss], 1,
|
||||
((reception_type == REPT_MU_MIMO) ||
|
||||
(reception_type == REPT_MU_OFDMA_MIMO)));
|
||||
DP_STATS_INC(peer, rx.nss[nss], 1);
|
||||
DP_STATS_INC(peer, rx.sgi_count[sgi], 1);
|
||||
DP_STATS_INCC(peer, rx.err.mic_err, 1,
|
||||
hal_rx_mpdu_end_mic_err_get(rx_tlv_hdr));
|
||||
|
Reference in New Issue
Block a user