From 0dd9a3e07ce2f7e39b647ecb1409d24e2c965d77 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 7 May 2020 00:29:12 +0200 Subject: [PATCH] gluon-core: platform: add 2.4GHz-only outdoor devices --- package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 1b20d0fd..85f1de76 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -26,7 +26,10 @@ end function M.is_outdoor_device() if M.match('ar71xx', 'generic', { 'bullet-m', + 'cpe210', 'cpe510', + 'wbs210', + 'wbs510', 'lbe-m5', 'loco-m-xw', 'nanostation-m', @@ -35,6 +38,7 @@ function M.is_outdoor_device() 'rocket-m-ti', 'rocket-m-xw', 'unifi-outdoor', + 'unifi-outdoor-plus', }) then return true @@ -46,7 +50,10 @@ function M.is_outdoor_device() M.get_model() == 'Ubiquiti UniFi-AC-MESH-PRO' then return true - elseif M.match('ath79', 'generic', {'devolo,dvl1750x'}) then + elseif M.match('ath79', 'generic', { + 'devolo,dvl1750x', + 'tplink,cpe220-v3', + }) then return true elseif M.match('ipq40xx', 'generic', {'engenius,ens620ext'}) then