qcacmn: Use rxdma error frame as rx_mpdu_error count
RX error stats from REO2TCL ring is just for RX 2K jump/ OOR frame, host should not count them as rx_mpdu_error stats for user space which will think wifi connection is bad easily in noise environment. Align this part logic with Helium that count TKIP/MIC error frame, for HST/HSP, use error counted from RXDMA instead. Change-Id: I2e488bedaed166ce410c53eb7e9710d7933c2717 CRs-Fixed: 2821147
This commit is contained in:
@@ -11375,8 +11375,8 @@ dp_txrx_ext_stats_request(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
|
||||
req->rx_mpdu_received = soc->ext_stats.rx_mpdu_received;
|
||||
req->rx_mpdu_delivered = soc->ext_stats.rx_mpdu_received;
|
||||
req->rx_mpdu_missed = soc->ext_stats.rx_mpdu_missed;
|
||||
req->rx_mpdu_error = soc->stats.rx.err_ring_pkts -
|
||||
soc->stats.rx.rx_frags;
|
||||
/* only count error source from RXDMA */
|
||||
req->rx_mpdu_error = pdev->stats.err.rxdma_error;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user