From 2887adef5fe6d67ce476b69db83a4bfff5a45c97 Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Mon, 30 May 2022 20:44:43 +0200 Subject: [PATCH] ath79-generic: (re)add support for NanoBeam M5 (XW) (#2432) Gone due to commit 071cf7b20f88 ("Switch to Lua for target definitions") Has prior been introduced as untested -> broken in commit d586720c5c41 ("ar71xx-generic: add support for Ubiquiti NanoBeam M5") Was commented out in the former commit. --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 2 ++ 3 files changed, 4 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 12bb58be..2cd27dfe 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -102,6 +102,7 @@ ath79-generic * Ubiquiti + - NanoBeam M5 (XW) - NanoStation M2/M5 (XW) - UniFi AC Lite - UniFi AC 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 ed3ca35a..bc3511c9 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -37,6 +37,7 @@ function M.is_outdoor_device() 'tplink,eap225-outdoor-v1', 'tplink,wbs210-v1', 'tplink,wbs210-v2', + 'ubnt,nanobeam-m5-xw', 'ubnt,nanostation-m-xw', 'ubnt,unifi-ap-outdoor-plus', 'ubnt,unifiac-mesh', diff --git a/targets/ath79-generic b/targets/ath79-generic index 84308528..a9265ba9 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -457,6 +457,8 @@ device('ubiquiti-unifi-ap', 'ubnt_unifi', { }, }) +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