Skip to content

Commit 51aa6d1

Browse files
s09289728096hauke
authored andcommitted
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 <[email protected]> Link: openwrt/openwrt#21267 Signed-off-by: Nick Hainke <[email protected]> (cherry picked from commit 95112a4)
1 parent 400c1c5 commit 51aa6d1

File tree

1 file changed

+1
-1
lines changed
  • package/network/config/wifi-scripts/files-ucode/usr/share/ucode

1 file changed

+1
-1
lines changed

package/network/config/wifi-scripts/files-ucode/usr/share/ucode/iwinfo.uc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ function dbm2quality(dbm) {
316316
}
317317

318318
function hwmodelist(name) {
319-
const mode = { 'HT*': 'n', 'VHT*': 'ac', 'HE*': 'ax' };
319+
const mode = { 'HT*': 'n', 'VHT*': 'ac', 'HE*': 'ax', 'EHT*': 'be' };
320320
let iface = ifaces[name];
321321
let phy = board_data.wlan?.['phy' + iface.wiphy];
322322
if (!phy || !iface.radio?.band)

0 commit comments

Comments
 (0)