From cb33b7488821a7961abac1dd87ab5fc88a9a09aa Mon Sep 17 00:00:00 2001 From: Pragaspathi Thilagaraj Date: Thu, 5 Mar 2020 21:05:14 +0530 Subject: [PATCH] qcacld-3.0: Disable simultaneous scan from upper layers The default value of ini gDualMacFeatureDisable is 0 and this enables DBS scan with simultaneous scan from upper layer to firmware. P2P scans get priority over sta scans and when continuoes p2p scans are issues from some userspace application, STA doesn't get scan time and APs in the environment are not seen the scan results on STA interface. To avoid this, change the default value of the gDualMacFeatureDisable to 6, which disables simultaneous scans from upper layer to the firmware. Change-Id: I7ea3ed521270fc50acba30f84749d35ee60fcaa0 CRs-Fixed: 2632562 --- .../cmn_services/policy_mgr/inc/wlan_policy_mgr_cfg.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_cfg.h b/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_cfg.h index ac6bc3c78117..f50d33b5662a 100644 --- a/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_cfg.h +++ b/components/cmn_services/policy_mgr/inc/wlan_policy_mgr_cfg.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -355,8 +355,8 @@ CFG_INI_UINT("gEnableOverLapCh", 0, 1, 0, CFG_VALUE_OR_DEFAULT, \ * * gDualMacFeatureDisable - Disable Dual MAC feature. * @Min: 0 - * @Max: 4 - * @Default: 0 + * @Max: 6 + * @Default: 6 * * This ini is used to enable/disable dual MAC feature. * 0 - enable DBS @@ -381,7 +381,7 @@ CFG_INI_UINT("gEnableOverLapCh", 0, 1, 0, CFG_VALUE_OR_DEFAULT, \ * */ #define CFG_DUAL_MAC_FEATURE_DISABLE \ -CFG_INI_UINT("gDualMacFeatureDisable", 0, 6, 0, CFG_VALUE_OR_DEFAULT, \ +CFG_INI_UINT("gDualMacFeatureDisable", 0, 6, 6, CFG_VALUE_OR_DEFAULT, \ "This INI is used to enable/disable Dual MAC feature") /*