From 0d1acac6bfff5453cc2be94527419ac174308146 Mon Sep 17 00:00:00 2001 From: Alok Kumar Date: Tue, 18 Sep 2018 14:24:14 +0530 Subject: [PATCH] qcacld-3.0: Unpause the Priority Queue for deficient pools Priority Queue gets paused due to descriptor deficiency which needs to be unpaused after distributing descriptors from a source pool to deficient pool. Unpause the Priority Queue of deficient pool when avail->desc count is more than start_th. Change-Id: Ia91fdd0ac39bf8a4ac42dafa42d346993bf6a38e CRs-Fixed: 2318031 --- core/dp/txrx/ol_txrx_flow_control.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/dp/txrx/ol_txrx_flow_control.c b/core/dp/txrx/ol_txrx_flow_control.c index c97355f24a..d4350f1e0a 100644 --- a/core/dp/txrx/ol_txrx_flow_control.c +++ b/core/dp/txrx/ol_txrx_flow_control.c @@ -552,6 +552,11 @@ ol_tx_distribute_descs_to_deficient_pools(struct ol_tx_flow_pool_t *src_pool) pdev->pause_cb(dst_pool->member_flow_id, WLAN_WAKE_ALL_NETIF_QUEUE, WLAN_DATA_FLOW_CONTROL); + + pdev->pause_cb(dst_pool->member_flow_id, + WLAN_NETIF_PRIORITY_QUEUE_ON, + WLAN_DATA_FLOW_CONTROL_PRIORITY); + dst_pool->status = FLOW_POOL_ACTIVE_UNPAUSED; }