summaryrefslogtreecommitdiff
path: root/core/mac/src
diff options
context:
space:
mode:
authorNitesh Shah <niteshs@codeaurora.org>2017-03-22 15:17:47 +0530
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-23 14:30:42 -0700
commitd68fd729dd6d39fee7dc2329585037f89df2dc23 (patch)
treeff47998dd600c9008f6f48b17997950936a7f96b /core/mac/src
parentfc2726c02849caaf3352231bc9e595e2030be593 (diff)
qcacld-3.0: Send Nss 1x1 for HT-STAs if hw is DBS capable
If the device is DBS capable, then it may switch between 2x2 and 1x1 depending on the active session. If the reference device is non-VHT STA and is HT-STA, then the reference device may not be able to decode operating mode notification frame. Thus, there can be IOT issues. The fix is to associate with non-VHT STA that are HT STA with 1x1 Nss capability. Change-Id: Ic6c889f18a2e20bbde9e0d8228de65cffa5162b8 CRs-Fixed: 2023200
Diffstat (limited to 'core/mac/src')
-rw-r--r--core/mac/src/pe/lim/lim_send_management_frames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c
index a36da0d1aa41..07c92db36178 100644
--- a/core/mac/src/pe/lim/lim_send_management_frames.c
+++ b/core/mac/src/pe/lim/lim_send_management_frames.c
@@ -1258,6 +1258,10 @@ lim_send_assoc_rsp_mgmt_frame(tpAniSirGlobal mac_ctx,
populate_dot11f_vht_operation(mac_ctx, pe_session,
&frm.VHTOperation);
is_vht = true;
+ } else {
+ /* Advertise 1x1 if either is HT-STA */
+ if (frm.HTCaps.present && mac_ctx->hw_dbs_capable)
+ frm.HTCaps.supportedMCSSet[1] = 0;
}
if (pe_session->vhtCapability &&
pe_session->vendor_vht_sap &&