ath79-generic: (re)add NanoStation M2/M5 (XW) (#2443)

Gone due to
commit 45c84a117b ("ar71xx: drop target")
This commit is contained in:
J. Burfeind 2022-04-03 00:01:38 +02:00 committed by GitHub
parent 332944af2b
commit dfa209a88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 0 deletions

View File

@ -89,6 +89,7 @@ ath79-generic
* Ubiquiti * Ubiquiti
- NanoStation M2/M5 (XW)
- UniFi AC Lite - UniFi AC Lite
- UniFi AC LR - UniFi AC LR
- UniFi AC Mesh - UniFi AC Mesh

View File

@ -47,6 +47,7 @@ if platform.match('ath79', 'generic', {
'tplink,cpe210-v2', 'tplink,cpe210-v2',
'tplink,cpe510-v1', 'tplink,cpe510-v1',
'tplink,wbs210-v2', 'tplink,wbs210-v2',
'ubnt,nanostation-m-xw',
'ubnt,unifi-ap-pro', 'ubnt,unifi-ap-pro',
}) then }) then
lan_ifname, wan_ifname = wan_ifname, lan_ifname lan_ifname, wan_ifname = wan_ifname, lan_ifname

View File

@ -35,6 +35,7 @@ function M.is_outdoor_device()
'tplink,cpe510-v3', 'tplink,cpe510-v3',
'tplink,eap225-outdoor-v1', 'tplink,eap225-outdoor-v1',
'tplink,wbs210-v2', 'tplink,wbs210-v2',
'ubnt,nanostation-m-xw',
'ubnt,unifiac-mesh', 'ubnt,unifiac-mesh',
}) then }) then
return true return true

View File

@ -333,6 +333,13 @@ device('tp-link-wbs210-v2', 'tplink_wbs210-v2')
-- Ubiquiti -- Ubiquiti
device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', {
manifest_aliases = {
'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07
'ubiquiti-nanostation-m5-xw', -- upgrade from OpenWrt 19.07
},
})
device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', { device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
factory = false, factory = false,
packages = ATH10K_PACKAGES_QCA9880, packages = ATH10K_PACKAGES_QCA9880,