Pārlūkot izejas kodu

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
Sachin Ahuja 4 gadi atpakaļ
vecāks
revīzija
de8caa1add
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 3 - 2
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");