wlan-ap-Telecominfraproject/feeds/qca/hostapd/patches/q04-007-hostapd-Set-channel-width-to-correct-value-in-HE-PHY.patch
John Crispin 008ca9618d
Some checks failed
Build OpenWrt/uCentral images / build (cig_wf186h) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf186w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf188n) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf189) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cig_wf196) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-a1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (cybertan_eww631-b1) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap102) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap104) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap105) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap111) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_eap112) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (edgecore_oap101e-6e) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_3) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4x_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xe) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi) (push) Has been cancelled
Build OpenWrt/uCentral images / build (hfcl_ion4xi_w) (push) Has been cancelled
Build OpenWrt/uCentral images / build (indio_um-305ax) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sercomm_ap72tip) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630c-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-211g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (sonicfi_rap630w-311g) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-id2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (udaya_a6-od2) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr5018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018) (push) Has been cancelled
Build OpenWrt/uCentral images / build (wallys_dr6018-v4) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax820) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_ax840) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap640) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap650) (push) Has been cancelled
Build OpenWrt/uCentral images / build (yuncore_fap655) (push) Has been cancelled
Build OpenWrt/uCentral images / trigger-testing (push) Has been cancelled
Build OpenWrt/uCentral images / create-x64_vm-ami (push) Has been cancelled
ipq95xx: import ath12.4-cs kernel and drivers
Signed-off-by: John Crispin <john@phrozen.org>
2024-10-20 09:25:13 +02:00

56 lines
2.0 KiB
Diff

From 78c2dcf8a9b665bb6f374ed9463361cdab5905c7 Mon Sep 17 00:00:00 2001
From: Ramanathan Choodamani <quic_rchoodam@quicinc.com>
Date: Mon, 27 Feb 2023 03:39:55 -0800
Subject: [PATCH 1/2] hostapd: Set channel width to correct value in HE PHY CAP for
EHT320
Problem description: For EHT320 the channel width is not
set correctly in the frames. The effect of RU puncturing
for EHT320 is modifying the operating channel width which
in turn modifies the PHY capabilities repeatedly.
This change ensures the channel width is handled correctly
for EHT320 and the puncturing does not adversely affect the
frame content modification.
Signed-off-by: Ramanathan Choodamani <quic_rchoodam@quicinc.com>
---
src/ap/ieee802_11_he.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
--- a/src/ap/ieee802_11_he.c
+++ b/src/ap/ieee802_11_he.c
@@ -228,7 +228,7 @@ u8 * hostapd_eid_he_operation(struct hos
if (is_6ghz_op_class(hapd->iconf->op_class)) {
enum oper_chan_width oper_chwidth =
- hostapd_get_oper_chwidth(hapd->iconf);
+ hapd->iface->conf->he_oper_chwidth;
u8 seg0 = hapd->iconf->he_oper_centr_freq_seg0_idx;
u8 seg1 = hapd->iconf->he_oper_centr_freq_seg1_idx;
u8 control;
@@ -242,19 +242,16 @@ u8 * hostapd_eid_he_operation(struct hos
#endif /* CONFIG_IEEE80211BE */
if (hapd->iconf->ru_punct_bitmap) {
- hapd->iconf->he_oper_chwidth =
- hostapd_get_oper_chwidth(hapd->iconf);
+ oper_chwidth = hapd->iface->conf->he_oper_chwidth;
hapd->iconf->he_oper_centr_freq_seg0_idx = seg0;
hapd->iconf->he_oper_centr_freq_seg1_idx = seg1;
punct_update_legacy_bw(hapd->iconf->ru_punct_bitmap,
hapd->iconf->channel,
- &hapd->iconf->he_oper_chwidth,
- &hapd->iconf->he_oper_centr_freq_seg0_idx,
- &hapd->iconf->he_oper_centr_freq_seg1_idx);
+ &oper_chwidth,
+ &seg0,
+ &seg1);
- seg0 = hapd->iconf->he_oper_centr_freq_seg0_idx;
- seg1 = hapd->iconf->he_oper_centr_freq_seg1_idx;
}
if (!seg0)