qcacld-3.0: Reset the rx hw ext stats on connection
CNE queries stats via the ext stats vendor cmd. As part of this, REO commands are enqueued to HW for each tid to get mpdu_rx and mpdu_rx_missed counts. In the scenario where the first ext stats request post STA disconnection and re-connection times out, the counts from the previous connection are reused. The second ext stats request can successfully get the new counts from HW in which case, there is a possiblity for the mpdu_rx count sent in the second stats response to be lower than the count sent in the first stats response. Fix is to reset the mpdu_rx and mpdu_rx_missed count on STA connection. Change-Id: I381f9b6b27d8d023b1932b7d8587df240c1ff4d0 CRs-Fixed: 2896791
This commit is contained in:

committed by
snandini

父節點
5397cd7b3a
當前提交
60d1518c2e
@@ -2698,6 +2698,9 @@ hdd_association_completion_handler(struct hdd_adapter *adapter,
|
||||
WLAN_IPA_STA_CONNECT,
|
||||
roam_info->bssid.bytes);
|
||||
|
||||
if (adapter->device_mode == QDF_STA_MODE)
|
||||
cdp_reset_rx_hw_ext_stats(soc);
|
||||
|
||||
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
|
||||
wlan_hdd_auto_shutdown_enable(hdd_ctx, false);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user