openwrt/package
Ryan Chen a8bdb1e6d6
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
wifi-scripts: fix WiFi 6E discovery for 6GHz 320MHz operation
WiFi 6E (802.11ax) clients cannot discover 6GHz APs operating at
320MHz because the HE Operation element contains uninitialized
center frequency values.

For EHT320 mode, the code sets eht_oper_centr_freq_seg0_idx but not
the corresponding HE values. Later, the HE values are copied from
VHT values, but VHT is not used on 6GHz, leaving he_oper_chwidth
and he_oper_centr_freq_seg0_idx at 0. This causes WiFi 6E clients
to see incorrect channel width information, making the AP invisible
to them during scanning.

Fix this by:
1. Setting he_oper_chwidth to 3 (160MHz) for EHT320 mode
2. Computing he_oper_centr_freq_seg0_idx based on the 160MHz segment
   that contains the primary channel
3. Preserving these pre-set values instead of overwriting them with
   uninitialized VHT values

WiFi 7 clients continue to see 320MHz operation via the EHT Operation
element, while WiFi 6E clients can now discover and connect at 160MHz.

Signed-off-by: Ryan Chen <rchen14b@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21588
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-01-21 22:30:05 +01:00
..
base-files base-files: introduce a function to generate IAID 2026-01-14 18:07:27 +01:00
boot uboot-rockchip: add HINLINK H28K support 2026-01-19 13:44:58 +00:00
devel strace: use bundled kernel headers 2026-01-21 11:41:59 +01:00
firmware qualcommax: ipq60xx: add JDCloud RE-CS-02 support 2026-01-18 11:13:54 +01:00
kernel kernel: modules: package Microchip SparX-5 switchdev driver as a module 2026-01-21 16:25:38 +01:00
libs elfutils: drop libelf1 provide 2026-01-12 14:28:52 +01:00
network wifi-scripts: fix WiFi 6E discovery for 6GHz 320MHz operation 2026-01-21 22:30:05 +01:00
system uclient: provide virtual wget-any 2026-01-12 14:28:52 +01:00
utils ucode: enable ucode-mod-zlib 2026-01-19 21:21:17 +01:00
Makefile build: avoid errors during release candidate kernel packaging 2025-12-20 11:06:47 +01:00