mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
wifi-scripts: add missing 802.11be type in hwmodelist
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
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>
This commit is contained in:
parent
2ebcda1ea6
commit
95112a4939
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue