qcacld-3.0: Fix for 11be cap and phymode
- Handle eht cap in beacon/prb response. - Handle eht phymode in lim_convert_phymode_to_dot11mode api. Change-Id: If5dca5208cbcc7548286bb794067905312525ff3 CRs-Fixed: 3071910
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Madan Koyyalamudi

ebeveyn
662220f35a
işleme
1f6ab000e7
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 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
|
||||
@@ -39,6 +40,7 @@
|
||||
#include <lim_security_utils.h>
|
||||
#include "wmm_apsd.h"
|
||||
#include "wma.h"
|
||||
#include "wlan_cmn.h"
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
Initialize the FT variables.
|
||||
@@ -367,6 +369,11 @@ static uint8_t lim_convert_phymode_to_dot11mode(enum wlan_phymode phymode)
|
||||
if (IS_WLAN_PHYMODE_HT(phymode))
|
||||
return MLME_DOT11_MODE_11N;
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
if (IS_WLAN_PHYMODE_EHT(phymode))
|
||||
return MLME_DOT11_MODE_11BE;
|
||||
#endif
|
||||
|
||||
if (phymode == WLAN_PHYMODE_11G)
|
||||
return MLME_DOT11_MODE_11G;
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 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
|
||||
@@ -2978,6 +2979,11 @@ QDF_STATUS sir_convert_probe_frame2_struct(struct mac_context *mac,
|
||||
sizeof(tDot11fIEhe_op));
|
||||
}
|
||||
|
||||
if (pr->eht_cap.present) {
|
||||
qdf_mem_copy(&pProbeResp->eht_cap, &pr->eht_cap,
|
||||
sizeof(tDot11fIEeht_cap));
|
||||
}
|
||||
|
||||
update_bss_color_change_ie_from_probe_rsp(pr, pProbeResp);
|
||||
sir_convert_mlo_probe_rsp_frame2_struct(pr, &pProbeResp->mlo_ie);
|
||||
|
||||
@@ -4507,6 +4513,11 @@ sir_parse_beacon_ie(struct mac_context *mac,
|
||||
sizeof(tDot11fIEhe_op));
|
||||
}
|
||||
|
||||
if (pBies->eht_cap.present) {
|
||||
qdf_mem_copy(&pBeaconStruct->eht_cap, &pBies->eht_cap,
|
||||
sizeof(tDot11fIEeht_cap));
|
||||
}
|
||||
|
||||
update_bss_color_change_from_beacon_ies(pBies, pBeaconStruct);
|
||||
|
||||
qdf_mem_free(pBies);
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle