From 684b4a80a0cdeccf1455c9efa12f80aabc9bad2a Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Fri, 8 Apr 2022 00:18:34 +0200 Subject: [PATCH] ath79-generic: (re)add support for wbs210v1 (#2461) 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 59370482..1f65f86a 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -89,6 +89,7 @@ ath79-generic - TL-WR810N (v1) - TL-WR842N/ND (v3) - TL-WR1043N/ND (v2, v3, v4) + - WBS210 (v1.20) - WBS210 (v2.0) * Ubiquiti diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index e6469dc4..f37e0692 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -46,6 +46,7 @@ if platform.match('ath79', 'generic', { 'tplink,cpe210-v1', 'tplink,cpe210-v2', 'tplink,cpe510-v1', + 'tplink,wbs210-v1', 'tplink,wbs210-v2', 'ubnt,nanostation-m-xw', 'ubnt,unifi-ap-pro', 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 cfb018a7..6d5bd8a7 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -34,6 +34,7 @@ function M.is_outdoor_device() 'tplink,cpe510-v2', 'tplink,cpe510-v3', 'tplink,eap225-outdoor-v1', + 'tplink,wbs210-v1', 'tplink,wbs210-v2', 'ubnt,nanostation-m-xw', 'ubnt,unifiac-mesh', diff --git a/targets/ath79-generic b/targets/ath79-generic index 008f0643..e2fcc8fd 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -356,6 +356,12 @@ device('tp-link-tl-wr1043nd-v4', 'tplink_tl-wr1043nd-v4', { }, }) +device('tp-link-wbs210-v1', 'tplink_wbs210-v1', { + manifest_aliases = { + 'tp-link-wbs210-v1.20', -- upgrade from OpenWrt 19.07 + }, +}) + device('tp-link-wbs210-v2', 'tplink_wbs210-v2') -- Ubiquiti