mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: Disable force SCC to DFS channel if DFS master disabled
If DFS master capability disabled, STA+SAP SCC on DFS is not allowed, so reset g_sta_sap_scc_on_dfs_chan to 0. Change-Id: I90b0ec6947f5bc24c9854062f443de0d1f6dc452 CRs-Fixed: 2897719
This commit is contained in:
parent
106ad99a1f
commit
ab69c2507a
2 changed files with 4 additions and 1 deletions
|
|
@ -395,6 +395,9 @@ CFG_INI_UINT("gDualMacFeatureDisable", 0, 6, 6, CFG_VALUE_OR_DEFAULT, \
|
|||
* support disabled, the value is defined by enum PM_AP_DFS_MASTER_MODE.
|
||||
* 0 - Disallow STA+SAP SCC on DFS channel
|
||||
* 1 - Allow STA+SAP SCC on DFS channel with master mode disabled
|
||||
* This needs gEnableDFSMasterCap enabled to allow SAP SCC with
|
||||
* STA on DFS but dfs master mode disabled. Single SAP is not allowed
|
||||
* on DFS.
|
||||
* 2 - enhance "1" with below requirement
|
||||
* a. Allow single SAP (GO) start on DFS channel.
|
||||
* b. Allow CAC process on DFS channel in single SAP (GO) mode
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ static QDF_STATUS policy_mgr_init_cfg(struct wlan_objmgr_psoc *psoc)
|
|||
*/
|
||||
if (cfg->sta_sap_scc_on_dfs_chnl == 2 &&
|
||||
!cfg_get(psoc, CFG_ENABLE_DFS_MASTER_CAPABILITY))
|
||||
cfg->sta_sap_scc_on_dfs_chnl = 1;
|
||||
cfg->sta_sap_scc_on_dfs_chnl = 0;
|
||||
cfg->nan_sap_scc_on_lte_coex_chnl =
|
||||
cfg_get(psoc, CFG_NAN_SAP_SCC_ON_LTE_COEX_CHAN);
|
||||
cfg->sta_sap_scc_on_lte_coex_chnl =
|
||||
|
|
|
|||
Loading…
Reference in a new issue