Skip to content
Snippets Groups Projects
Commit 260a75cd authored by David Bauer's avatar David Bauer
Browse files

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: default avatarDavid Bauer <mail@david-bauer.net>
parent 4985b218
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,10 @@ local function get_htmode(radio)
end
local phy = wireless.find_phy(radio)
if iwinfo.nl80211.hwmodelist(phy).ax then
return 'HE20'
end
if iwinfo.nl80211.hwmodelist(phy).ac then
return 'VHT20'
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment