qcacld-3.0: Fix only nss 1x1 supported for 2 GHz 40M EHT MCS9

When DUT sta disconnect, bw_le_80_rx_max_nss_for_mcs_0_to_9 of 2 GHz eht
cap is set to 1, means only nss 1x1 supported for 2 GHz 40M EHT MCS9.

To fix it, don't change bw_le_80_rx_max_nss_for_mcs_0_to_9 when
disconnect, just change it during WFA case.

Change-Id: Ie96fbd77c473ac6d537517208fd799d7b648dc73
CRs-Fixed: 3670034
Dieser Commit ist enthalten in:
Jianmin Zhu
2023-11-29 18:21:20 -08:00
committet von Ravindra Konda
Ursprung b69a34506a
Commit 29cc99b960

Datei anzeigen

@@ -14952,8 +14952,10 @@ void sme_set_bss_max_idle_period(mac_handle_t mac_handle, uint16_t cfg_val)
#ifdef WLAN_FEATURE_11BE
static void sme_set_eht_mcs_info(struct mac_context *mac_ctx)
{
mac_ctx->eht_cap_2g.bw_le_80_rx_max_nss_for_mcs_0_to_9 = 1;
mac_ctx->eht_cap_2g.bw_le_80_tx_max_nss_for_mcs_0_to_9 = 1;
if (mac_ctx->usr_eht_testbed_cfg) {
mac_ctx->eht_cap_2g.bw_le_80_rx_max_nss_for_mcs_0_to_9 = 1;
mac_ctx->eht_cap_2g.bw_le_80_tx_max_nss_for_mcs_0_to_9 = 1;
}
}
#else
#ifdef WLAN_FEATURE_11AX