gluon-core: platform: add 2.4GHz-only outdoor devices

This commit is contained in:
Matthias Schiffer 2020-05-07 00:29:12 +02:00
parent f4fe58cfd7
commit 0dd9a3e07c
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -26,7 +26,10 @@ end
function M.is_outdoor_device() function M.is_outdoor_device()
if M.match('ar71xx', 'generic', { if M.match('ar71xx', 'generic', {
'bullet-m', 'bullet-m',
'cpe210',
'cpe510', 'cpe510',
'wbs210',
'wbs510',
'lbe-m5', 'lbe-m5',
'loco-m-xw', 'loco-m-xw',
'nanostation-m', 'nanostation-m',
@ -35,6 +38,7 @@ function M.is_outdoor_device()
'rocket-m-ti', 'rocket-m-ti',
'rocket-m-xw', 'rocket-m-xw',
'unifi-outdoor', 'unifi-outdoor',
'unifi-outdoor-plus',
}) then }) then
return true return true
@ -46,7 +50,10 @@ function M.is_outdoor_device()
M.get_model() == 'Ubiquiti UniFi-AC-MESH-PRO' then M.get_model() == 'Ubiquiti UniFi-AC-MESH-PRO' then
return true return true
elseif M.match('ath79', 'generic', {'devolo,dvl1750x'}) then elseif M.match('ath79', 'generic', {
'devolo,dvl1750x',
'tplink,cpe220-v3',
}) then
return true return true
elseif M.match('ipq40xx', 'generic', {'engenius,ens620ext'}) then elseif M.match('ipq40xx', 'generic', {'engenius,ens620ext'}) then