From 51d0f4e5ac7b0c9db35b2065528d769fe89df401 Mon Sep 17 00:00:00 2001 From: chenguo Date: Mon, 7 May 2018 13:30:26 +0800 Subject: [PATCH] qcacmn: Delete obsolete RX statistics number of BW and frame type Before showing DP statistics, per VDEV and per peer statistics counters will be aggregated together and stats.rx data member of PDEV will be set to all zeros. So only need to update per peer statitics counters in RX stats_update. Delete the obsolete PDEV stats.rx update operations. CRs-Fixed: 2237020 Change-Id: Iba6437e6010dd8f87a3f152a529a8b0bc632972d --- dp/wifi3.0/dp_rx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dp/wifi3.0/dp_rx.c b/dp/wifi3.0/dp_rx.c index fc550bb9cf33..5a50219cec19 100644 --- a/dp/wifi3.0/dp_rx.c +++ b/dp/wifi3.0/dp_rx.c @@ -1144,8 +1144,6 @@ static void dp_rx_msdu_stats_update(struct dp_soc *soc, /* Save tid to skb->priority */ DP_RX_TID_SAVE(nbuf, tid); - DP_STATS_INC(vdev->pdev, rx.bw[bw], 1); - DP_STATS_INC(vdev->pdev, rx.reception_type[reception_type], 1); 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,