From 0527404645aa106318cf1b76e970c328f9fb710f Mon Sep 17 00:00:00 2001 From: Nico <github@nicoboehr.de> Date: Sat, 1 Mar 2025 21:33:08 +0000 Subject: [PATCH] Revert "ath79-generic: remove Ubiquiti AirMax targets (#3067)" This reverts commit a0f5b4e9468e9c2fa28459143a7df6ced348f452. Issues with the flash should be fixed as of OpenWRT commit c55aaa7c9a ("ath79: generic: disable SPI-NOR write protect unconditionally"). https://github.com/openwrt/openwrt/commit/c55aaa7c9a98e7c0a5e1ea8293a534dc5b395cf3 --- docs/user/supported_devices.rst | 4 ++++ targets/ath79-generic | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 7c6847c5..9ccf32f5 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -149,6 +149,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 diff --git a/targets/ath79-generic b/targets/ath79-generic index b9b80388..c19982da 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -530,6 +530,21 @@ device('tp-link-wbs510-v1', 'tplink_wbs510-v1') -- Ubiquiti +device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', { + manifest_aliases = { + 'ubiquiti-loco-m-xw', -- upgrade from OpenWrt 19.07 + 'ubiquiti-nanostation-loco-m2-xw', -- upgrade from OpenWrt 19.07 + 'ubiquiti-nanostation-loco-m5-xw', -- upgrade from OpenWrt 19.07 + }, +}) + +device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', { + manifest_aliases = { + 'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07 + 'ubiquiti-nanostation-m5-xw', -- upgrade from OpenWrt 19.07 + }, +}) + device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', { factory = false, packages = ATH10K_PACKAGES_QCA9880, @@ -566,6 +581,18 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi-ap', { device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus') +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-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', { + manifest_aliases = { + 'ubiquiti-unifiap-outdoor+', -- upgrade from OpenWrt 19.07 + }, +}) + device('ubiquiti-unifi-ap-pro', 'ubnt_unifi-ap-pro') device('ubiquiti-unifi-swiss-army-knife-ultra', 'ubnt_uk-ultra', { -- GitLab