From defbe6ebc5b3089733346d93c3a001d2d1bdaf0d Mon Sep 17 00:00:00 2001 From: Yu Tian Date: Tue, 5 Jan 2021 16:17:10 +0800 Subject: [PATCH] qcacmn: Fix the error statistics field for CNE rx_mpdu_missed statistics used by CNE records instances of BA hole happens, not duplicated frames instances. Fix this field with correct value to avoid incorrect VOLTE switching. Change-Id: I815b9a4caeb6eedf36be66f8650ca98d00542c60 CRs-Fixed: 2848460 --- dp/wifi3.0/dp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 0ee7fa232724..203fcb74c04d 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -11536,7 +11536,7 @@ static void dp_rx_hw_stats_cb(struct dp_soc *soc, void *cb_ctxt, soc->ext_stats.rx_mpdu_received += queue_status->mpdu_frms_cnt; soc->ext_stats.rx_mpdu_missed += - queue_status->late_recv_mpdu_cnt; + queue_status->hole_cnt; } qdf_spin_unlock_bh(&soc->rx_hw_stats_lock); }