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
This commit is contained in:

committed by
nshrivas

parent
b07d87e7ea
commit
cb33b74888
@@ -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, \
|
||||
* <ini>
|
||||
* 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, \
|
||||
* </ini>
|
||||
*/
|
||||
#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")
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user