summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElwin Huang2025-12-24 06:01:32 +0000
committerNick Hainke2025-12-25 18:45:41 +0000
commit95112a493923c0cbda244e89388131c27bac0c4f (patch)
treea1adf0fe81c1563ff182d0192bf3139794190fc5
parent2ebcda1ea6b757864c4700e543a9767752ca766e (diff)
downloadxback-95112a493923c0cbda244e89388131c27bac0c4f.tar.gz
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@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21267 Signed-off-by: Nick Hainke <vincent@systemli.org>
-rw-r--r--package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc2
1 files changed, 1 insertions, 1 deletions
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)