From 087c15ae0c867443d196344c4dc253ebe8611cda Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Sat, 26 Mar 2022 10:52:35 +0100 Subject: [PATCH] ath79-generic: (re)add support for UniFi AC Mesh (#2428) Gone due to commit 45c84a117bf8 ("ar71xx: drop target") --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index a7a8be1b..3e485aa9 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -85,6 +85,7 @@ ath79-generic * Ubiquiti + - UniFi AC Mesh - UniFi AP - UniFi AP LR diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index 680f5611..737cf826 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -35,6 +35,7 @@ function M.is_outdoor_device() 'tplink,cpe510-v3', 'tplink,eap225-outdoor-v1', 'tplink,wbs210-v2', + 'ubnt,unifiac-mesh', }) then return true diff --git a/targets/ath79-generic b/targets/ath79-generic index b2e73d53..f23738d8 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -310,6 +310,11 @@ device('tp-link-wbs210-v2', 'tplink_wbs210-v2') -- Ubiquiti +device('ubiquiti-unifi-ac-mesh', 'ubnt_unifiac-mesh', { + factory = false, + packages = ATH10K_PACKAGES_QCA9880, +}) + device('ubiquiti-unifi-ap', 'ubnt_unifi', { aliases = { 'ubiquiti-unifi-ap-lr',