mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacld-3.0: HT20 Protection Mode
HT_PURE mode indicates either only HT20 STAs are connected to a HT20 only SAP or HT20/40 STAs are connected to HT20/40 SAP. Otherwise its HT20 protection mode. This patch fixes code to work accroding to this condition correctly. Change-Id: Ib431209f5dfc8800d0932752a282c954f0228503 CRs-Fixed: 866447
This commit is contained in:
parent
6605951f42
commit
a56fcffaca
1 changed files with 4 additions and 3 deletions
|
|
@ -4256,9 +4256,10 @@ static void lim_handle_ht20protection_enabled(tpAniSirGlobal mac_ctx,
|
|||
} else if (LIM_IS_AP_ROLE(session_entry) && !overlap) {
|
||||
session_entry->gLimHt20Params.protectionEnabled = true;
|
||||
if (eSIR_HT_OP_MODE_PURE == session_entry->htOperMode) {
|
||||
session_entry->htOperMode =
|
||||
eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
|
||||
|
||||
if (session_entry->htSupportedChannelWidthSet !=
|
||||
eHT_CHANNEL_WIDTH_20MHZ)
|
||||
session_entry->htOperMode =
|
||||
eSIR_HT_OP_MODE_NO_LEGACY_20MHZ_HT;
|
||||
lim_enable_ht_rifs_protection(mac_ctx, false,
|
||||
overlap, beaconparams, session_entry);
|
||||
lim_enable_ht_obss_protection(mac_ctx, false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue