qcacld-3.0: Refactor/correct usage of flow control stats
Correct flow control usage of stats in hdd_tx_resume_cb() and wlan_hdd_mod_fc_timer() Change-Id: I2efd145332f79f058f367bef21a4d22cb52e927d CRs-Fixed: 2373789
Tento commit je obsažen v:
@@ -360,6 +360,8 @@ void wlan_hdd_mod_fc_timer(struct hdd_adapter *adapter,
|
|||||||
|
|
||||||
if (action == WLAN_WAKE_NON_PRIORITY_QUEUE) {
|
if (action == WLAN_WAKE_NON_PRIORITY_QUEUE) {
|
||||||
qdf_mc_timer_stop(&adapter->tx_flow_control_timer);
|
qdf_mc_timer_stop(&adapter->tx_flow_control_timer);
|
||||||
|
adapter->hdd_stats.tx_rx_stats.is_txflow_paused = false;
|
||||||
|
adapter->hdd_stats.tx_rx_stats.txflow_unpause_cnt++;
|
||||||
} else if (action == WLAN_STOP_NON_PRIORITY_QUEUE) {
|
} else if (action == WLAN_STOP_NON_PRIORITY_QUEUE) {
|
||||||
QDF_STATUS status =
|
QDF_STATUS status =
|
||||||
qdf_mc_timer_start(&adapter->tx_flow_control_timer,
|
qdf_mc_timer_start(&adapter->tx_flow_control_timer,
|
||||||
|
@@ -292,6 +292,8 @@ void hdd_tx_resume_cb(void *adapter_context, bool tx_resume)
|
|||||||
wlan_hdd_netif_queue_control(adapter,
|
wlan_hdd_netif_queue_control(adapter,
|
||||||
WLAN_WAKE_ALL_NETIF_QUEUE,
|
WLAN_WAKE_ALL_NETIF_QUEUE,
|
||||||
WLAN_DATA_FLOW_CONTROL);
|
WLAN_DATA_FLOW_CONTROL);
|
||||||
|
adapter->hdd_stats.tx_rx_stats.is_txflow_paused = false;
|
||||||
|
adapter->hdd_stats.tx_rx_stats.txflow_unpause_cnt++;
|
||||||
}
|
}
|
||||||
hdd_tx_resume_false(adapter, tx_resume);
|
hdd_tx_resume_false(adapter, tx_resume);
|
||||||
}
|
}
|
||||||
|
Odkázat v novém úkolu
Zablokovat Uživatele