Skip to content

Commit 08717ce

Browse files
committed
ath79-generic: (re)add support for Ubiquiti AirMax targets
A fix has been found for the read-only filesystems after upgrades on Ubiquiti airmax devices. This reverts commit a0f5b4e. This reverts commit d6dd629 partially.
1 parent d91d1cb commit 08717ce

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

docs/user/supported_devices.rst

+4
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,10 @@ ath79-generic
145145

146146
* Ubiquiti
147147

148+
- NanoBeam 5AC 19 (XC)
149+
- NanoBeam M5 (XW)
150+
- NanoStation Loco M2/M5 (XW)
151+
- NanoStation M2/M5 (XW)
148152
- UniFi AC Lite
149153
- UniFi AC LR
150154
- UniFi AC Mesh

package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if platform.match('ath79', 'generic', {
4949
'tplink,wbs210-v1',
5050
'tplink,wbs210-v2',
5151
'tplink,wbs510-v1',
52+
'ubnt,nanostation-m-xw',
5253
'ubnt,unifi-ap-pro',
5354
}) then
5455
lan_ifname, wan_ifname = wan_ifname, lan_ifname

package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ function M.is_outdoor_device()
4141
'tplink,wbs210-v1',
4242
'tplink,wbs210-v2',
4343
'tplink,wbs510-v1',
44+
'ubnt,nanobeam-ac-xc',
45+
'ubnt,nanobeam-m5-xw',
46+
'ubnt,nanostation-loco-m-xw',
47+
'ubnt,nanostation-m-xw',
4448
'ubnt,uk-ultra',
4549
'ubnt,unifi-ap-outdoor-plus',
4650
'ubnt,unifiac-mesh',

targets/ath79-generic

+21
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,21 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1', {
569569

570570
-- Ubiquiti
571571

572+
device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', {
573+
manifest_aliases = {
574+
'ubiquiti-loco-m-xw', -- upgrade from OpenWrt 19.07
575+
'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07
576+
'ubiquiti-nanostation-loco-m5-xw', -- upgrade from OpenWrt 19.07
577+
},
578+
})
579+
580+
device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', {
581+
manifest_aliases = {
582+
'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07
583+
'ubiquiti-nanostation-m5-xw', -- upgrade from OpenWrt 19.07
584+
},
585+
})
586+
572587
device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
573588
factory = false,
574589
packages = ATH10K_PACKAGES_QCA9880,
@@ -603,6 +618,12 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi-ap', {
603618
},
604619
})
605620

621+
device('ubiquiti-nanobeam-ac-gen1-xc', 'ubnt_nanobeam-ac-xc', {
622+
packages = ATH10K_PACKAGES_QCA9880,
623+
})
624+
625+
device('ubiquiti-nanobeam-m5-xw', 'ubnt_nanobeam-m5-xw')
626+
606627
device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', {
607628
manifest_aliases = {
608629
'ubiquiti-unifiap-outdoor+', -- upgrade from OpenWrt 19.07

0 commit comments

Comments
 (0)