From 2a4e082ad71360a96eeeb4e3b234d87ab7e87ae9 Mon Sep 17 00:00:00 2001 From: Yeshwanth Sriram Guntuka Date: Mon, 29 Oct 2018 19:45:57 +0530 Subject: [PATCH] qcacmn: Reduce scan time when in GO+STA MCC Scan on STA interface is taking around 10 secs to complete. There is a 7secs expiry time used in nl which could result in scan results received for the first 3secs, which are from 2G channels, to be flushed. Fix is to not set offchannel simultaneous feature capability, decrease the active dwell time for 2G channels to 40msecs and increase burst duration to 240msecs when GO is active. Change-Id: If014b2115048018432943d863bbe184beb498408 CRs-Fixed: 2340516 --- src/wlan_policy_mgr_get_set_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wlan_policy_mgr_get_set_utils.c b/src/wlan_policy_mgr_get_set_utils.c index 250b5fb94988..c41b794d0a6b 100644 --- a/src/wlan_policy_mgr_get_set_utils.c +++ b/src/wlan_policy_mgr_get_set_utils.c @@ -3025,7 +3025,8 @@ bool policy_mgr_is_scan_simultaneous_capable(struct wlan_objmgr_psoc *psoc) (ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN == wlan_objmgr_psoc_get_dual_mac_disable(psoc)) || (ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN == - wlan_objmgr_psoc_get_dual_mac_disable(psoc))) + wlan_objmgr_psoc_get_dual_mac_disable(psoc)) || + !policy_mgr_is_hw_dbs_capable(psoc)) return false; return true;