qcacld-3.0: Fix HE capability miss in LFR2 reassoc request

When filling ft session in lim_fill_ft_session, eht_config and he_config
should be copied just like what we do in lim_fill_pe_session.

Otherwise there is no HE capability IE in reassoc request for LFR2.

Change-Id: Ib0ad7fc5b43ee0fa122ac9d014e8c614f0661d7e
CRs-Fixed: 3412832
Tento commit je obsažen v:
Bing Sun
2023-02-27 11:24:58 +08:00
odevzdal Madan Koyyalamudi
rodič fc6723243c
revize ce30288d9b

Zobrazit soubor

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -594,13 +594,15 @@ void lim_fill_ft_session(struct mac_context *mac,
&& pBeaconStruct->HTCaps.present);
if (IS_DOT11_MODE_HE(ft_session->dot11mode) &&
pBeaconStruct->he_cap.present)
pBeaconStruct->he_cap.present) {
lim_update_session_he_capable(mac, ft_session);
lim_copy_join_req_he_cap(ft_session);
}
if (IS_DOT11_MODE_EHT(ft_session->dot11mode) &&
pBeaconStruct->eht_cap.present)
pBeaconStruct->eht_cap.present) {
lim_update_session_eht_capable(mac, ft_session);
lim_copy_join_req_eht_cap(ft_session);
}
/* Assign default configured nss value in the new session */
if (!wlan_reg_is_24ghz_ch_freq(ft_session->curr_op_freq))
ft_session->vdev_nss = mac->vdev_type_nss_5g.sta;