From e5a6233709d4ae7e69bfa050195102b9d3457fca Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Sun, 3 Jul 2022 23:49:38 +0200 Subject: [PATCH] ath79-generic: (re)add WBS510 v1 (#2543) Gone due to commit 45c84a117bf8 ("ar71xx: drop target") --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces | 1 + package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 1 + targets/ath79-generic | 6 ++++++ 4 files changed, 9 insertions(+) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 327ef082..8c411d32 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -104,6 +104,7 @@ ath79-generic - TL-WR1043N/ND (v2, v3, v4, v5) - WBS210 (v1.20) - WBS210 (v2.0) + - WBS510 (v1.20) * Ubiquiti diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index 795e7938..24a32e39 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -48,6 +48,7 @@ if platform.match('ath79', 'generic', { 'tplink,cpe510-v1', 'tplink,wbs210-v1', 'tplink,wbs210-v2', + 'tplink,wbs510-v1', 'ubnt,nanostation-m-xw', 'ubnt,unifi-ap-pro', }) then 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 2815bf21..f72bf44c 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -38,6 +38,7 @@ function M.is_outdoor_device() 'tplink,eap225-outdoor-v1', 'tplink,wbs210-v1', 'tplink,wbs210-v2', + 'tplink,wbs510-v1', 'ubnt,nanobeam-m5-xw', 'ubnt,nanostation-loco-m-xw', 'ubnt,nanostation-m-xw', diff --git a/targets/ath79-generic b/targets/ath79-generic index e1f2a3cc..49147aed 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -435,6 +435,12 @@ device('tp-link-wbs210-v1', 'tplink_wbs210-v1', { device('tp-link-wbs210-v2', 'tplink_wbs210-v2') +device('tp-link-wbs510-v1', 'tplink_wbs510-v1', { + manifest_aliases = { + 'tp-link-wbs510-v1.20', -- upgrade from OpenWrt 19.07 + }, +}) + -- Ubiquiti device('ubiquiti-nanostation-loco-m-xw', 'ubnt_nanostation-loco-m-xw', {