Skip to content

Commit cb6a2ee

Browse files
committed
ath79-generic: (re)add support for Ubiquiti AirMax targets
A workarround has been found for the read-only filesystems after upgrades on Ubiquiti airmax devices: openwrt/openwrt@f024f4b This reverts commit a0f5b4e. This reverts commit d6dd629 partially.
1 parent 226b906 commit cb6a2ee

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,unifi-ap-outdoor-plus',
4549
'ubnt,unifiac-mesh',
4650
'ubnt,unifiac-mesh-pro',

targets/ath79-generic

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

564564
-- Ubiquiti
565565

566+
device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', {
567+
manifest_aliases = {
568+
'ubiquiti-loco-m-xw', -- upgrade from OpenWrt 19.07
569+
'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07
570+
'ubiquiti-nanostation-loco-m5-xw', -- upgrade from OpenWrt 19.07
571+
},
572+
})
573+
574+
device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', {
575+
manifest_aliases = {
576+
'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07
577+
'ubiquiti-nanostation-m5-xw', -- upgrade from OpenWrt 19.07
578+
},
579+
})
580+
566581
device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
567582
factory = false,
568583
packages = ATH10K_PACKAGES_QCA9880,
@@ -597,6 +612,12 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi-ap', {
597612
},
598613
})
599614

615+
device('ubiquiti-nanobeam-ac-gen1-xc', 'ubnt_nanobeam-ac-xc', {
616+
packages = ATH10K_PACKAGES_QCA9880,
617+
})
618+
619+
device('ubiquiti-nanobeam-m5-xw', 'ubnt_nanobeam-m5-xw')
620+
600621
device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', {
601622
manifest_aliases = {
602623
'ubiquiti-unifiap-outdoor+', -- upgrade from OpenWrt 19.07

0 commit comments

Comments
 (0)