[PATCH] wifi-scripts: mac80211.sh: add EHT and HE160 support to iw_htmode

Ming Kuang ming at imkuang.com
Sat Mar 22 07:13:57 PDT 2025


On Sat, 2025-03-22 at 09:28 +0100, Felix Baumann wrote:
> Hi,
> 
> I'm not sure what the implications of this are, but good catch :)
> 
> Also looking at the code there is a case missing for EHT320, I assume.
> 
> Regards
> Felix Baumann
> 

On my device, the iw command does not tell me that I can specify 320MHz
when setting the channel:

root at OpenWrt:~# iw --version
iw version 6.9
root at OpenWrt:~# iw
Usage:  iw [options] command
Options:
        --debug         enable netlink debugging
        --version       show version (6.9)
...
        phy <phyname> set channel <channel> [NOHT|HT20|HT40+|HT40-
|5MHz|10MHz|80MHz|160MHz]
        dev <devname> set channel <channel> [NOHT|HT20|HT40+|HT40-
|5MHz|10MHz|80MHz|160MHz]
...

Also, I don't have a device that supports EHT320 to verify it, so I just
cautiously didn't add it.
If anyone can confirm that it is indeed possible to set 320MHz I can
update this (maybe the iw tool's prompts need to be updated?)




More information about the openwrt-devel mailing list