qcacld-3.0: Avoid checking for netif queues unpause in Data flow control when in Reassociating state
propagation from qcacld-2.0 to qcacld-3.0 During re-association, host does not enable the netif queues and does not reset the pause bit map from Data flow control if queues are already paused due to lack of enough descriptors which is not correct and lead to disconnection. Host has now centralised mechanism to pause/unpause netif queues using bitmap, so there is no need to keep the netif queues in paused state from data flow control path. To fix this, remove the tx queue unpause check when in reassociation state. Change-Id: I8484a18dafbe02e06394a05b409256c586f59908 CRs-Fixed: 1104919
这个提交包含在:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||||
*
|
*
|
||||||
@@ -194,11 +194,6 @@ void hdd_tx_resume_cb(void *adapter_context, bool tx_resume)
|
|||||||
tx_flow_control_timer)) {
|
tx_flow_control_timer)) {
|
||||||
qdf_mc_timer_stop(&pAdapter->tx_flow_control_timer);
|
qdf_mc_timer_stop(&pAdapter->tx_flow_control_timer);
|
||||||
}
|
}
|
||||||
if (qdf_unlikely(hdd_sta_ctx->hdd_ReassocScenario)) {
|
|
||||||
hddLog(LOGW,
|
|
||||||
FL("flow control, tx queues un-pause avoided as we are in REASSOCIATING state"));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
hddLog(LOG1, FL("Enabling queues"));
|
hddLog(LOG1, FL("Enabling queues"));
|
||||||
wlan_hdd_netif_queue_control(pAdapter,
|
wlan_hdd_netif_queue_control(pAdapter,
|
||||||
WLAN_WAKE_ALL_NETIF_QUEUE,
|
WLAN_WAKE_ALL_NETIF_QUEUE,
|
||||||
|
在新工单中引用
屏蔽一个用户