diff options
| author | Elwin Huang | 2025-12-24 06:01:32 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-12-26 12:48:15 +0000 |
| commit | 51aa6d184a046d50ec8a6890d0b8b0e9a6f261c5 (patch) | |
| tree | 9f4194ea1211a8a003ffeefcaefe0ecda6812084 | |
| parent | 400c1c5ea8cc75810d22ca4b043f2bd82d8b8d7e (diff) | |
| download | openwrt-51aa6d184a046d50ec8a6890d0b8b0e9a6f261c5.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>
(cherry picked from commit 95112a493923c0cbda244e89388131c27bac0c4f)
| -rw-r--r-- | package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc | 2 |
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) |