From 021aad0312247f8c187bade26408a42395a38501 Mon Sep 17 00:00:00 2001 From: Sravan Goud Date: Wed, 25 Mar 2020 12:07:13 +0530 Subject: [PATCH] qcacld-3.0: Request high bus bandwidth for monitor mode Currently for monitor mode there is no bandwidth vote and as a result voting level is none. So request high bus bandwidth vote level for monitor mode. Change-Id: I3efb755c80dadc07b5f672c18d9bae862eac378f CRs-Fixed: 2643405 --- core/hdd/src/wlan_hdd_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 9bcf801bac23..86f6b59476b3 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -2593,6 +2593,10 @@ static int __hdd_mon_open(struct net_device *dev) if (!ret) ret = hdd_enable_monitor_mode(dev); + if (!ret) + pld_request_bus_bandwidth(hdd_ctx->parent_dev, + PLD_BUS_WIDTH_VERY_HIGH); + return ret; }