Skip to content

Commit

Permalink
ath79-generic: (re)add support for Ubiquiti AirMax targets
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
herbetom committed Dec 11, 2024
1 parent 8f9c3a7 commit 0a43cfb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/user/supported_devices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ ath79-generic

* Ubiquiti

- NanoBeam 5AC 19 (XC)
- NanoBeam M5 (XW)
- NanoStation Loco M2/M5 (XW)
- NanoStation M2/M5 (XW)
- UniFi AC Lite
- UniFi AC LR
- UniFi AC Mesh
Expand Down
1 change: 1 addition & 0 deletions package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ if platform.match('ath79', 'generic', {
'tplink,wbs210-v1',
'tplink,wbs210-v2',
'tplink,wbs510-v1',
'ubnt,nanostation-m-xw',
'ubnt,unifi-ap-pro',
}) then
lan_ifname, wan_ifname = wan_ifname, lan_ifname
Expand Down
4 changes: 4 additions & 0 deletions package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ function M.is_outdoor_device()
'tplink,wbs210-v1',
'tplink,wbs210-v2',
'tplink,wbs510-v1',
'ubnt,nanobeam-ac-xc',
'ubnt,nanobeam-m5-xw',
'ubnt,nanostation-loco-m-xw',
'ubnt,nanostation-m-xw',
'ubnt,uk-ultra',
'ubnt,unifi-ap-outdoor-plus',
'ubnt,unifiac-mesh',
Expand Down
10 changes: 10 additions & 0 deletions targets/ath79-generic
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,16 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1')

-- Ubiquiti

device('ubiquiti-nanobeam-ac-gen1-xc', 'ubnt_nanobeam-ac-xc', {
packages = ATH10K_PACKAGES_QCA9880,
})

device('ubiquiti-nanobeam-m5-xw', 'ubnt_nanobeam-m5-xw')

device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw')

device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw')

device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', {
factory = false,
packages = ATH10K_PACKAGES_QCA9880,
Expand Down

0 comments on commit 0a43cfb

Please sign in to comment.