Skip to content

Commit c0591a9

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 49079cf commit c0591a9

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

docs/user/supported_devices.rst

+4
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ ath79-generic
149149

150150
* Ubiquiti
151151

152+
- NanoBeam 5AC 19 (XC)
153+
- NanoBeam M5 (XW)
154+
- NanoStation Loco M2/M5 (XW)
155+
- NanoStation M2/M5 (XW)
152156
- UniFi AC Lite
153157
- UniFi AC LR
154158
- UniFi AC Mesh

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

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if platform.match('ath79', 'generic', {
5050
'tplink,wbs210-v1',
5151
'tplink,wbs210-v2',
5252
'tplink,wbs510-v1',
53+
'ubnt,nanostation-m-xw',
5354
'ubnt,unifi-ap-pro',
5455
}) then
5556
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

+10
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,16 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1')
523523

524524
-- Ubiquiti
525525

526+
device('ubiquiti-nanobeam-ac-gen1-xc', 'ubnt_nanobeam-ac-xc', {
527+
packages = ATH10K_PACKAGES_QCA9880,
528+
})
529+
530+
device('ubiquiti-nanobeam-m5-xw', 'ubnt_nanobeam-m5-xw')
531+
532+
device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw')
533+
534+
device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw')
535+
526536
device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
527537
factory = false,
528538
packages = ATH10K_PACKAGES_QCA9880,

0 commit comments

Comments
 (0)