[openwrt/openwrt] wifi-scripts: add missing 802.11be type in hwmodelist

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 25 10:45:56 PST 2025


nick pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/95112a493923c0cbda244e89388131c27bac0c4f

commit 95112a493923c0cbda244e89388131c27bac0c4f
Author: Elwin Huang <s09289728096 at gmail.com>
AuthorDate: Wed Dec 24 14:01:32 2025 +0800

    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 <s09289728096 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/21267
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 .../network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 b2eb8cfd10..554ed71d3b 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)




More information about the lede-commits mailing list