Explorar o código

qcacld-3.0: Reset MLD cap present bit in MLO IE case

Currently in beacon, assoc req and assoc resp
frames, MLO IE MLD cap present bit is set to 1
without filling the MLD cap subfields in MLO IE.

Fix, in Presence bitmap subfield of the Basic
Multi-Link element set MLD cap present bit as 0
if MLD cap subfiled is not present.

Change-Id: I676c887edd7198bb5178e09e58f6b24dbaa857a7
CRs-Fixed: 3197313
Deeksha Gupta %!s(int64=2) %!d(string=hai) anos
pai
achega
f092956e5e
Modificáronse 1 ficheiros con 2 adicións e 5 borrados
  1. 2 5
      core/mac/src/sys/legacy/src/utils/src/parser_api.c

+ 2 - 5
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -8508,8 +8508,7 @@ QDF_STATUS populate_dot11f_assoc_rsp_mlo_ie(struct mac_context *mac_ctx,
 		session->mlo_link_info.link_ie.bss_param_change_cnt;
 	common_info_len += WLAN_ML_BV_CINFO_BSSPARAMCHNGCNT_SIZE;
 
-	mlo_ie->mld_capab_present = 1;
-	common_info_len += WLAN_ML_BV_CINFO_MLDCAP_SIZE;
+	mlo_ie->mld_capab_present = 0;
 
 	mlo_ie->common_info_length = common_info_len;
 
@@ -9075,9 +9074,7 @@ QDF_STATUS populate_dot11f_bcn_mlo_ie(struct mac_context *mac_ctx,
 		session->mlo_link_info.link_ie.bss_param_change_cnt;
 	tmp_offset += 1; /* bss parameters change count */
 	common_info_length += WLAN_ML_BV_CINFO_BSSPARAMCHNGCNT_SIZE;
-	mlo_ie->mld_capab_present = 1;
-	tmp_offset += 2; /* mld capabilities */
-	common_info_length += WLAN_ML_BV_CINFO_MLDCAP_SIZE;
+	mlo_ie->mld_capab_present = 0;
 	sch_info->num_links = 0;
 
 	lim_get_mlo_vdev_list(session, &vdev_count, wlan_vdev_list);