Skip to content

Commit ec0e2d9

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 744b14f commit ec0e2d9

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
@@ -148,6 +148,10 @@ ath79-generic
148148

149149
* Ubiquiti
150150

151+
- NanoBeam 5AC 19 (XC)
152+
- NanoBeam M5 (XW)
153+
- NanoStation Loco M2/M5 (XW)
154+
- NanoStation M2/M5 (XW)
151155
- UniFi AC Lite
152156
- UniFi AC LR
153157
- 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
@@ -512,6 +512,16 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1')
512512

513513
-- Ubiquiti
514514

515+
device('ubiquiti-nanobeam-ac-gen1-xc', 'ubnt_nanobeam-ac-xc', {
516+
packages = ATH10K_PACKAGES_QCA9880,
517+
})
518+
519+
device('ubiquiti-nanobeam-m5-xw', 'ubnt_nanobeam-m5-xw')
520+
521+
device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw')
522+
523+
device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw')
524+
515525
device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
516526
factory = false,
517527
packages = ATH10K_PACKAGES_QCA9880,

0 commit comments

Comments
 (0)