From 359d8db8d22eb896342fcec443fd672402feea44 Mon Sep 17 00:00:00 2001 From: Sachin Ahuja Date: Fri, 6 Nov 2020 23:01:24 +0530 Subject: [PATCH] qcacld-3.0: Add the QCN IE in assoc response Currently if peer client supports the MCS12 and MCS13 support in assoc request then also DUT(as SAP) is not sending the QCN IE in assoc response. This results into the low Tput as peer client uses only rates till MCS11. To fix this issue, send the QCN IE with MCS12 and MCS13 support in assoc response if peer client supports it. CRs-Fixed: 2814863 Change-Id: I17c16705b5a015e1dd22849212a19365ac78acaa --- core/mac/src/pe/lim/lim_send_management_frames.c | 5 +++-- 1 file changed, 3 insertions(+), 2 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 df91ec5af480..cde084c4e6ce 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -1519,12 +1519,13 @@ lim_send_assoc_rsp_mgmt_frame( populate_dot11f_vht_operation(mac_ctx, pe_session, &frm.vendor_vht_ie.VHTOperation); is_vht = true; - populate_dot11f_qcn_ie(mac_ctx, pe_session, &frm.qcn_ie, - QCN_IE_ATTR_ID_ALL); } populate_dot11f_ext_cap(mac_ctx, is_vht, &frm.ExtCap, pe_session); + populate_dot11f_qcn_ie(mac_ctx, pe_session, &frm.qcn_ie, + QCN_IE_ATTR_ID_ALL); + if (lim_is_sta_he_capable(sta) && lim_is_session_he_capable(pe_session)) { pe_debug("Populate HE IEs");