mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Allow SAP to move to unsafe channel if ini allows
User may set the ini param g_sta_sap_scc_on_lte_coex_chan=1 if SAP is allowed to come up on unsafe channels. Currently, this doesn't cover the below case, 1. SAP is enabled on a 5 GHz channel in a non-DBS platform 2. Concurrent STA enabled and connected it to an AP that's in unsafe channel. 3. SAP doesn't move to the STA channel though the ini to enable force SCC(gWlanMccToSccSwitchMode) is set and it's a non-DBS platform as the target channel(STA channel) is unsafe channel. Allow SAP to move to unsafe STA channel if the ini g_sta_sap_scc_on_lte_coex_chan is set to true. Change-Id: I3e2b8ae57e843a938e4799f473da87664dbabb85 CRs-Fixed: 3609503
This commit is contained in:
parent
d45bd3de33
commit
bba79e41cd
1 changed files with 2 additions and 1 deletions
|
|
@ -2097,7 +2097,8 @@ static bool policy_mgr_valid_sta_channel_check(struct wlan_objmgr_psoc *psoc,
|
|||
!sta_sap_scc_on_dfs_chan) ||
|
||||
wlan_reg_is_passive_or_disable_for_freq(
|
||||
pm_ctx->pdev, sta_ch_freq) ||
|
||||
!policy_mgr_is_safe_channel(psoc, sta_ch_freq)) {
|
||||
(!policy_mgr_sta_sap_scc_on_lte_coex_chan(psoc) &&
|
||||
!policy_mgr_is_safe_channel(psoc, sta_ch_freq))) {
|
||||
if (policy_mgr_is_hw_dbs_capable(psoc))
|
||||
return true;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue