mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: SAP not following STA channel
With below INI configuration, SAP is not following the STA channel. It's forming STA + SAP MCC instead of Forced SCC. 1. gWlanMccToSccSwitchMode = 4 (QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE) 2. gEnableSAPManadatoryChanList=1 When channel switch mode is QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE and if STA is on 5ghz and SAP also comes on 5ghz then driver considers the HW mode as DBS capable and it allows SAP to form MCC which is not favorable. For non_DBS target, the fix is to allow SAP to do force SCC if the channel switch mode is MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE. Change-Id: I4b945dc1831909caff72f8398c959f4450765f2b CRs-Fixed: 2972273
This commit is contained in:
parent
4218c7e968
commit
bd1641c16f
1 changed files with 3 additions and 2 deletions
|
|
@ -1106,8 +1106,9 @@ uint16_t csr_check_concurrent_channel_overlap(struct mac_context *mac_ctx,
|
|||
cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_WITH_PREFERRED_BAND)
|
||||
intf_ch_freq = 0;
|
||||
} else if (cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL) {
|
||||
} else if (policy_mgr_is_hw_dbs_capable(mac_ctx->psoc) &&
|
||||
cc_switch_mode ==
|
||||
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL) {
|
||||
status = policy_mgr_get_sap_mandatory_channel(
|
||||
mac_ctx->psoc, sap_ch_freq,
|
||||
&intf_ch_freq);
|
||||
|
|
|
|||
Loading…
Reference in a new issue