mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Add a check to allow DBS concurrency
If gEnableMCCMode is disabled then STA connection is rejected by driver if it is second connection and creating a 2-port combination. STA should work as the selected AP is operating on otherband thereby creating a DBS concurrent scenario. Change-Id: Ia1f4f8dbf927a872ada72fb15d646a0a0e323e36 CRs-Fixed: 2400546
This commit is contained in:
parent
ef9b417aee
commit
997e373da8
1 changed files with 12 additions and 4 deletions
|
|
@ -5025,15 +5025,23 @@ static bool csr_roam_select_bss(struct mac_context *mac_ctx,
|
|||
conc_channel = csr_get_concurrent_operation_channel(
|
||||
mac_ctx);
|
||||
sme_debug("csr Conc Channel: %d", conc_channel);
|
||||
if ((conc_channel) && (conc_channel ==
|
||||
result->BssDescriptor.channelId)) {
|
||||
|
||||
if (conc_channel) {
|
||||
if ((conc_channel ==
|
||||
result->BssDescriptor.channelId) ||
|
||||
(policy_mgr_is_hw_dbs_capable(mac_ctx->psoc)
|
||||
&& !WLAN_REG_IS_SAME_BAND_CHANNELS(
|
||||
conc_channel,
|
||||
result->BssDescriptor.channelId))) {
|
||||
/*
|
||||
* make this 0 because we do not want the below
|
||||
* check to pass as we don't want to connect on
|
||||
* other channel
|
||||
*/
|
||||
sme_debug("Conc chnl match: %d", conc_channel);
|
||||
conc_channel = 0;
|
||||
sme_debug("Conc chnl match: %d",
|
||||
conc_channel);
|
||||
conc_channel = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue