mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Fix connection issue in 11n-only mode when AP is in 11AC/AX
Currently when gDot11Mode=6 (11n only) is configured in ini and AP is operating in 11n mode the STA is connecting in HT mode, but when AP is operating in 11AC/11AX mode then STA is connecting in legacy mode i.e 11b/g/a. This is due to check which compares phymode of BSS is 11n or not but failed to check BSS phymode is 11ac/ax. Due to this there is mismatch in phymode and mode is downgraded to legacy. These changes will perform the check and allow STA to connect in 11n. Change-Id: I8196b44db5a12fbba39ffcf58202fa1863b1c4b4 CRs-Fixed: 2965287
This commit is contained in:
parent
93747ad99e
commit
f8e00abfda
1 changed files with 2 additions and 1 deletions
|
|
@ -1742,7 +1742,8 @@ static bool csr_get_phy_mode_in_use(struct mac_context *mac_ctx,
|
|||
break;
|
||||
|
||||
case eCSR_DOT11_MODE_11n_ONLY:
|
||||
if (eCSR_DOT11_MODE_11n == bssPhyMode) {
|
||||
if (eCSR_DOT11_MODE_11n == bssPhyMode ||
|
||||
bssPhyMode >= eCSR_DOT11_MODE_11ac) {
|
||||
fMatch = true;
|
||||
cfgDot11Mode = eCSR_CFG_DOT11_MODE_11N;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue