mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: 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: 2291935
This commit is contained in:
parent
d9b88605c5
commit
b39e413ac0
2 changed files with 7 additions and 1 deletions
|
|
@ -835,6 +835,9 @@ enum policy_mgr_hw_mode_change {
|
|||
* connection and scan but switch off the async scan
|
||||
* @ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN: Enable DBS support for connection and
|
||||
* disable DBS support for scan
|
||||
* @ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN: Enable DBS
|
||||
* support for connection and disable simultaneous scan from
|
||||
* upper layer (DBS scan remains enabled in FW)
|
||||
*/
|
||||
enum dbs_support {
|
||||
ENABLE_DBS_CXN_AND_SCAN,
|
||||
|
|
@ -842,7 +845,8 @@ enum dbs_support {
|
|||
DISABLE_DBS_CXN_AND_ENABLE_DBS_SCAN,
|
||||
DISABLE_DBS_CXN_AND_ENABLE_DBS_SCAN_WITH_ASYNC_SCAN_OFF,
|
||||
ENABLE_DBS_CXN_AND_ENABLE_SCAN_WITH_ASYNC_SCAN_OFF,
|
||||
ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN
|
||||
ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN,
|
||||
ENABLE_DBS_CXN_AND_DISABLE_SIMULTANEOUS_SCAN,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -2740,6 +2740,8 @@ bool policy_mgr_is_scan_simultaneous_capable(struct wlan_objmgr_psoc *psoc)
|
|||
if ((DISABLE_DBS_CXN_AND_SCAN ==
|
||||
wlan_objmgr_psoc_get_dual_mac_disable(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)))
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue