openwrt-mirror/package/network
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
..
config wifi-scripts: mac80211.sh: add EHT and HE160 support to iw_htmode 2025-04-10 20:51:56 +02:00
ipv6 odhcp6c: update to Git HEAD (2024-09-25) 2024-11-28 18:48:02 +00:00
services lldpd: add custom-tlv handling 2025-03-25 09:52:55 +01:00
utils ethtool: work-around ETHTOOL_GRSSH/ETHTOOL_SRSSH ABI breakage 2025-02-28 13:20:22 +00:00