Explorar o código

qcacld-3.0: Fail to disable mcs12/13 via ini in SAP mode

In sap mode, he_mcs_12_13_map will leverage peer station's
capability in function lim_add_he_cap(), which result in
failure in disabling mcs12/13 via ini he_mcs_12_13_support
when peer sta take qcn IE in assoc req frame. To address this,
we should take intersection of fw cap for mcs12/13, which
has already done in function lim_intersect_sta_he_caps.
So don't overwrite he_mcs_12_13_map in lim_add_he_cap().

Change-Id: Ia8c1febbc0a6487140b3d2e9b1b5dfed46226098
CRs-Fixed: 2919083
lihual %!s(int64=4) %!d(string=hai) anos
pai
achega
00d622448a
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      core/mac/src/pe/lim/lim_utils.c

+ 0 - 4
core/mac/src/pe/lim/lim_utils.c

@@ -6522,10 +6522,6 @@ void lim_add_he_cap(struct mac_context *mac_ctx, struct pe_session *pe_session,
 	qdf_mem_copy(&add_sta_params->he_config, &assoc_req->he_cap,
 		     sizeof(add_sta_params->he_config));
 
-	add_sta_params->he_mcs_12_13_map =
-		assoc_req->qcn_ie.he_mcs13_attr.he_mcs_12_13_supp_80 |
-		assoc_req->qcn_ie.he_mcs13_attr.he_mcs_12_13_supp_160 << 8;
-
 	if (lim_is_he_6ghz_band(pe_session))
 		lim_update_he_6ghz_band_caps(mac_ctx,
 					     &assoc_req->he_6ghz_band_cap,