gluon-core: use HE radio mode if available
Configure a radio for HE (802.11ax) operation in case it's supported by the hardware. This can be the case for 2.4 GHz as well as 5 GHz. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
4985b21858
commit
260a75cd59
@ -74,6 +74,10 @@ local function get_htmode(radio)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local phy = wireless.find_phy(radio)
|
local phy = wireless.find_phy(radio)
|
||||||
|
if iwinfo.nl80211.hwmodelist(phy).ax then
|
||||||
|
return 'HE20'
|
||||||
|
end
|
||||||
|
|
||||||
if iwinfo.nl80211.hwmodelist(phy).ac then
|
if iwinfo.nl80211.hwmodelist(phy).ac then
|
||||||
return 'VHT20'
|
return 'VHT20'
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user