From 10721f6e23184a1ca501ba35173e49cd90b1bfd3 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Thu, 11 Jan 2024 23:06:53 +0100 Subject: [PATCH] ath79-generic: add support for Ubiquiti UniFi Swiss Army Knife Ultra (#3149) --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 6 ++++++ 3 files changed, 8 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 3057677774..0f1da2e142 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -154,6 +154,7 @@ ath79-generic - UniFi AP LR - UniFi AP Outdoor+ - UniFi AP PRO + - UniFi Swiss Army Knife Ultra ath79-mikrotik -------------- 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 7ba3103f63..014e516c43 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -41,6 +41,7 @@ function M.is_outdoor_device() 'tplink,wbs210-v1', 'tplink,wbs210-v2', 'tplink,wbs510-v1', + 'ubnt,uk-ultra', 'ubnt,unifi-ap-outdoor-plus', 'ubnt,unifiac-mesh', 'ubnt,unifiac-mesh-pro', diff --git a/targets/ath79-generic b/targets/ath79-generic index ee98c8b8bd..11d78ba280 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -610,3 +610,9 @@ device('ubiquiti-unifi-ap-outdoor+', 'ubnt_unifi-ap-outdoor-plus', { }) device('ubiquiti-unifi-ap-pro', 'ubnt_unifi-ap-pro') + + +device('ubiquiti-unifi-swiss-army-knife-ultra', 'ubnt_uk-ultra', { + factory = false, + packages = ATH10K_PACKAGES_QCA9880, +})