Skip to content
Snippets Groups Projects
Unverified Commit ab4c9984 authored by David Bauer's avatar David Bauer Committed by GitHub
Browse files

Merge pull request #2255 from blocktrron/pr-u6-lr

mediatek-mt7622: add support for UniFi 6 LR
parents 4e00f1f6 3d94a09e
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,13 @@ lantiq-xway
- DGN3500B [#lan_as_wan]_
mediatek-mt7622
---------------
* Ubiquiti
- UniFi 6 LR
mpc85xx-generic
---------------
......
......@@ -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
......
device('ubiquiti-unifi-6-lr', 'ubnt_unifi-6-lr', {
factory = false,
})
......@@ -6,6 +6,7 @@ $(eval $(call GluonTarget,ipq40xx,generic))
$(eval $(call GluonTarget,ipq806x,generic))
$(eval $(call GluonTarget,lantiq,xrx200))
$(eval $(call GluonTarget,lantiq,xway))
$(eval $(call GluonTarget,mediatek,mt7622))
$(eval $(call GluonTarget,mpc85xx,p1010))
$(eval $(call GluonTarget,mpc85xx,p1020))
$(eval $(call GluonTarget,ramips,mt7620))
......
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