ath79-generic: re-add support for Ubiquiti UniFi AP Outdoor+ (#2440)

Removed in 45c84a117b ("ar71xx: drop target").
This commit is contained in:
Matthias Schiffer 2022-05-26 23:35:18 +02:00 committed by GitHub
parent a0df96eb97
commit 674ec7b64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View File

@ -108,6 +108,7 @@ ath79-generic
- UniFi AC Pro
- UniFi AP
- UniFi AP LR
- UniFi AP Outdoor+
- UniFi AP PRO
ath79-nand

View File

@ -52,6 +52,11 @@ if platform.match('ath79', 'generic', {
'ubnt,unifi-ap-pro',
}) then
lan_ifname, wan_ifname = wan_ifname, lan_ifname
elseif platform.match('ath79', 'generic', {
'ubnt,unifi-ap-outdoor-plus',
}) then
-- Temporary solution to separate interfaces in bridged default setup
lan_ifname, wan_ifname = 'eth0', 'eth1'
elseif platform.match('lantiq') then
local switch_data = board_data.switch or {}
local switch0_data = switch_data.switch0 or {}

View File

@ -38,6 +38,7 @@ function M.is_outdoor_device()
'tplink,wbs210-v1',
'tplink,wbs210-v2',
'ubnt,nanostation-m-xw',
'ubnt,unifi-ap-outdoor-plus',
'ubnt,unifiac-mesh',
}) then
return true

View File

@ -449,4 +449,10 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi', {
},
})
device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', {
manifest_aliases = {
'ubiquiti-unifiap-outdoor+', -- upgrade from OpenWrt 19.07
},
})
device('ubiquiti-unifi-ap-pro', 'ubnt_unifi-ap-pro')