openwrt-mirror/package/network/config
Ming Kuang 3f00d6ba01 wifi-scripts: mac80211.sh: add EHT and HE160 support to iw_htmode
For WIFI7 devices (such as mt7925e), the dev width is currently
always "20 MHz (no HT)" in monitor mode.

Add EHT and HE160 support to iw_htmode to fix this issue.
Additionally, the following changes are made:
1. Set iw_htmode to 160MHz for VHT160. The reason for the current
   VHT160 setting is unclear and seems to have been in place for
   over a decade (ibss_htmode [1]). If anyone knows its impact,
   please inform me so I can restore it.
2. Modify MHZ to MHz. The original matching table in the current
   iw tool uses MHz. Although the match is case-insensitive,
   correcting this won't hurt.

[1]: 768d09be87

Signed-off-by: Ming Kuang <ming@imkuang.com>
Link: https://github.com/openwrt/openwrt/pull/18319
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 86eb1c0b5a)
2025-04-10 20:51:56 +02:00
..
firewall firewall: update to Git HEAD (2024-10-18) 2024-10-18 08:03:34 +02:00
firewall4 firewall4: update to Git HEAD (2024-12-18) 2024-12-18 12:47:50 +01: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-adsl-app: add dsl_cpe_pipe.sh script 2024-10-21 01:04:05 +02:00
ltq-vdsl-vr9-app lantiq/xrx200: move 8M flash devices to a small flash subtarget 2024-12-19 11:25:30 +01:00
ltq-vdsl-vr11-app ltq-vdsl-vr11-app: perform orderly shutdown on exit 2024-08-31 19:40:21 +02:00
netifd netifd: remove leftover wifi reload_legacy call 2025-01-26 21:21:00 +01:00
qos-scripts treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
qosify qosify: update to Git HEAD (2024-09-20) 2024-09-20 23:17:43 +02: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: mac80211.sh: add EHT and HE160 support to iw_htmode 2025-04-10 20:51:56 +02:00
xfrm xfrm: remove requirement for underlying device 2024-08-19 18:49:49 +02:00