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
This commit is contained in:
bings 2020-02-27 19:35:46 +08:00 • committed by nshrivas
commit 839a2e8cd1

View file

@ -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);