openwrt/package/network/config
Ryan Chen f70c393d62
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>
(cherry picked from commit a8bdb1e6d6)
2026-01-21 22:31:18 +01:00
..
firewall firewall: config: add dest addr restrictions for DHCPv6 rules 2025-11-10 15:23:16 +01:00
firewall4 firewall4: update to Git HEAD (2025-03-17) 2025-03-30 18:35:22 +02:00
gre gre: use alternative way to check if kernel support is enabled 2021-03-13 20:58:55 +01:00
ipip ipip: add 'nohostroute' option 2022-01-19 20:57:59 +01:00
ltq-adsl-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr9-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
ltq-vdsl-vr11-app ltq-*-app: correctly report downstream band borders 2025-07-13 15:39:14 +02:00
netifd netifd: use stable IAID for DHCPv4 2026-01-15 11:06:32 +01:00
qos-scripts treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
qosify package: use service_running instead of service_started for ubus config 2025-03-13 11:23:03 +01:00
soloscli soloscli: fix uci-defaults file 2020-06-11 01:49:24 +02:00
swconfig swconfig: fix memory leak when cli call swlib_get_attr() 2023-06-11 02:42:31 +02:00
vti vti: squash vtiv4 and vtiv6 packages into vti 2021-11-03 20:34:43 +01:00
vxlan vxlan: allow for dynamic source ip selection (FS#3426) 2020-12-31 11:53:21 +01:00
wifi-scripts wifi-scripts: fix WiFi 6E discovery for 6GHz 320MHz operation 2026-01-21 22:31:18 +01:00
xfrm xfrm: remove requirement for underlying device 2024-08-19 18:49:49 +02:00