mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Add ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN
Add ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN option for the ini gDualMacFeatureDisable. This is to enable DBS support for the connection and disable simultaneous scan from upper layer. But DBS scan remains enabled in FW. Change-Id: Ic280de2cc63a3775c0d9dd61985ff89df58a4a89 CRs-Fixed: 2288294
This commit is contained in:
parent
6a17618a8a
commit
aececb20dc
2 changed files with 6 additions and 2 deletions
|
|
@ -8368,6 +8368,8 @@ enum dot11p_mode {
|
|||
* 4 - enable DBS for connection as well as for scan with async
|
||||
* scan policy disabled
|
||||
* 5 - enable DBS for connection but disable DBS for scan.
|
||||
* 6 - enable DBS for connection but disable simultaneous scan
|
||||
* from upper layer (DBS scan remains enabled in FW).
|
||||
*
|
||||
* Note: INI item value should match 'enum dbs_support'
|
||||
*
|
||||
|
|
@ -8381,7 +8383,7 @@ enum dot11p_mode {
|
|||
*/
|
||||
#define CFG_DUAL_MAC_FEATURE_DISABLE "gDualMacFeatureDisable"
|
||||
#define CFG_DUAL_MAC_FEATURE_DISABLE_MIN (0)
|
||||
#define CFG_DUAL_MAC_FEATURE_DISABLE_MAX (5)
|
||||
#define CFG_DUAL_MAC_FEATURE_DISABLE_MAX (6)
|
||||
#define CFG_DUAL_MAC_FEATURE_DISABLE_DEFAULT (0)
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1321,7 +1321,9 @@ static void hdd_update_hw_dbs_capable(struct hdd_context *hdd_ctx)
|
|||
((cfg_ini->dual_mac_feature_disable ==
|
||||
ENABLE_DBS_CXN_AND_SCAN) ||
|
||||
(cfg_ini->dual_mac_feature_disable ==
|
||||
ENABLE_DBS_CXN_AND_ENABLE_SCAN_WITH_ASYNC_SCAN_OFF)))
|
||||
ENABLE_DBS_CXN_AND_ENABLE_SCAN_WITH_ASYNC_SCAN_OFF) ||
|
||||
(cfg_ini->dual_mac_feature_disable ==
|
||||
ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN)))
|
||||
hw_dbs_capable = 1;
|
||||
|
||||
sme_update_hw_dbs_capable(hdd_ctx->mac_handle, hw_dbs_capable);
|
||||
|
|
|
|||
Loading…
Reference in a new issue