Merge pull request #2255 from blocktrron/pr-u6-lr
mediatek-mt7622: add support for UniFi 6 LR
This commit is contained in:
commit
ab4c99842a
@ -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
|
||||
|
3
targets/mediatek-mt7622
Normal file
3
targets/mediatek-mt7622
Normal file
@ -0,0 +1,3 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user