Browse Source

qcacld-3.0: update he cap for ft_session->ftPEContext.pAddBssReq

In roaming when preparing pAddBssParams in lim_ft_prepare_add_bss_req,
it should update he cap like lim_sta_send_add_bss_pre_assoc, otherwise
wma_set_bss_rate_flags_he can't be triggered.

Change-Id: I0fe4f7f6e4db076e3e79e6bd81257e44ec3ae682
CRs-Fixed: 2628459
bings 5 years ago
parent
commit
839a2e8cd1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      core/mac/src/pe/lim/lim_ft.c

+ 6 - 0
core/mac/src/pe/lim/lim_ft.c

@@ -239,6 +239,12 @@ void lim_ft_prepare_add_bss_req(struct mac_context *mac,
 		pAddBssParams->vhtCapable = 0;
 	}
 
+	if (lim_is_session_he_capable(ft_session) &&
+	    pBeaconStruct->he_cap.present) {
+		lim_update_bss_he_capable(mac, pAddBssParams);
+		lim_add_bss_he_cfg(pAddBssParams, ft_session);
+	}
+
 	pe_debug("SIR_HAL_ADD_BSS_REQ with frequency: %d",
 		bssDescription->chan_freq);