From 839a2e8cd1d4fb2f5ab434c07a662ae0e297e37f Mon Sep 17 00:00:00 2001 From: bings Date: Thu, 27 Feb 2020 19:35:46 +0800 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_ft.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/mac/src/pe/lim/lim_ft.c b/core/mac/src/pe/lim/lim_ft.c index a091fe15fc13..fbfc6b821f67 100644 --- a/core/mac/src/pe/lim/lim_ft.c +++ b/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);