From 5a034be6b3e8fffadcd33b22d02e71b45417dbe8 Mon Sep 17 00:00:00 2001 From: Tom Herbers Date: Sat, 28 Aug 2021 14:29:58 +0200 Subject: [PATCH] ath79-generic: add support for TP-Link EAP225-Outdoor v1 --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index efe82d1d..b074b5e5 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -40,6 +40,7 @@ ath79-generic - CPE220 (v3.0) - CPE510 (v2.0) - CPE510 (v3.0) + - EAP225-Outdoor (v1) - TL-WDR3600 (v1) - TL-WDR4300 (v1) - WBS210 (v2.0) 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 23aec7b3..9c4974ea 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -32,6 +32,7 @@ function M.is_outdoor_device() 'tplink,cpe220-v3', 'tplink,cpe510-v2', 'tplink,cpe510-v3', + 'tplink,eap225-outdoor-v1', 'tplink,wbs210-v2', }) then return true diff --git a/targets/ath79-generic b/targets/ath79-generic index 979a7f3c..2051e303 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -109,6 +109,10 @@ device('tp-link-cpe220-v3', 'tplink_cpe220-v3') device('tp-link-cpe510-v2', 'tplink_cpe510-v2') device('tp-link-cpe510-v3', 'tplink_cpe510-v3') +device('tp-link-eap225-outdoor-v1', 'tplink_eap225-outdoor-v1', { + packages = ATH10K_PACKAGES_QCA9888, +}) + device('tp-link-tl-wdr3600-v1', 'tplink_tl-wdr3600-v1') device('tp-link-tl-wdr4300-v1', 'tplink_tl-wdr4300-v1')