From: Elwin Huang Date: Wed, 24 Dec 2025 06:01:32 +0000 (+0800) Subject: wifi-scripts: add missing 802.11be type in hwmodelist X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;p=thirdparty%2Fopenwrt.git wifi-scripts: add missing 802.11be type in hwmodelist Add EHT* check so that the hwmode will display 802.11be capability correctly. Signed-off-by: Elwin Huang Link: https://github.com/openwrt/openwrt/pull/21267 Signed-off-by: Nick Hainke --- diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc index b2eb8cfd103..554ed71d3b4 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc @@ -316,7 +316,7 @@ function dbm2quality(dbm) { } function hwmodelist(name) { - const mode = { 'HT*': 'n', 'VHT*': 'ac', 'HE*': 'ax' }; + const mode = { 'HT*': 'n', 'VHT*': 'ac', 'HE*': 'ax', 'EHT*': 'be' }; let iface = ifaces[name]; let phy = board_data.wlan?.['phy' + iface.wiphy]; if (!phy || !iface.radio?.band)