ath79-generic: (re)add support for UniFi AC Mesh Pro (#2462)

Gone due to
commit 45c84a117b ("ar71xx: drop target")
This commit is contained in:
J. Burfeind 2022-07-10 23:10:07 +02:00 committed by GitHub
parent 0cd7af9b52
commit 11905af169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 0 deletions

View File

@ -115,6 +115,7 @@ ath79-generic
- UniFi AC Lite - UniFi AC Lite
- UniFi AC LR - UniFi AC LR
- UniFi AC Mesh - UniFi AC Mesh
- UniFi AC Mesh Pro
- UniFi AC Pro - UniFi AC Pro
- UniFi AP - UniFi AP
- UniFi AP LR - UniFi AP LR

View File

@ -59,6 +59,7 @@ elseif platform.match('ath79', 'generic', {
-- Temporary solution to separate interfaces in bridged default setup -- Temporary solution to separate interfaces in bridged default setup
lan_ifname, wan_ifname = 'eth0', 'eth1' lan_ifname, wan_ifname = 'eth0', 'eth1'
elseif platform.match('ath79', 'generic', { elseif platform.match('ath79', 'generic', {
'ubnt,unifiac-mesh-pro',
'ubnt,unifiac-pro', 'ubnt,unifiac-pro',
}) then }) then
lan_ifname, wan_ifname = 'eth0.2', 'eth0.1' lan_ifname, wan_ifname = 'eth0.2', 'eth0.1'

View File

@ -5,6 +5,7 @@ local uci = require('simple-uci').cursor()
local switch_vlans = { local switch_vlans = {
-- device identifier, lan ports, wan ports -- device identifier, lan ports, wan ports
["ubnt,unifiac-mesh-pro"] = {"3 0t", "2 0t"},
["ubnt,unifiac-pro"] = {"2 0t", "3 0t"}, ["ubnt,unifiac-pro"] = {"2 0t", "3 0t"},
} }

View File

@ -44,6 +44,7 @@ function M.is_outdoor_device()
'ubnt,nanostation-m-xw', 'ubnt,nanostation-m-xw',
'ubnt,unifi-ap-outdoor-plus', 'ubnt,unifi-ap-outdoor-plus',
'ubnt,unifiac-mesh', 'ubnt,unifiac-mesh',
'ubnt,unifiac-mesh-pro',
}) then }) then
return true return true

View File

@ -476,6 +476,11 @@ device('ubiquiti-unifi-ac-mesh', 'ubnt_unifiac-mesh', {
packages = ATH10K_PACKAGES_QCA9880, packages = ATH10K_PACKAGES_QCA9880,
}) })
device('ubiquiti-unifi-ac-mesh-pro', 'ubnt_unifiac-mesh-pro', {
factory = false,
packages = ATH10K_PACKAGES_QCA9880,
})
device('ubiquiti-unifi-ac-pro', 'ubnt_unifiac-pro', { device('ubiquiti-unifi-ac-pro', 'ubnt_unifiac-pro', {
factory = false, factory = false,
packages = ATH10K_PACKAGES_QCA9880, packages = ATH10K_PACKAGES_QCA9880,