From 55e95dd49bd12645234fd5f2f77747854dd82236 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 14 Jan 2022 23:20:22 +0100 Subject: [PATCH] ath79-generic: add support for TP-Link Archer A7 v5 (#2374) --- docs/user/supported_devices.rst | 1 + package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac | 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 8d7377f9..f80b1ef3 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -44,6 +44,7 @@ ath79-generic * TP-Link + - Archer A7 (v5) - Archer C6 (v2) - CPE220 (v3.0) - CPE510 (v2.0) diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac index 6331211c..58c0fc06 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -74,6 +74,7 @@ local primary_addrs = { {'ath79', 'generic', { 'glinet,gl-ar750s-nor', 'ocedo,raccoon', + 'tplink,archer-a7-v5', 'tplink,archer-c2-v3', 'tplink,archer-d50-v1', }}, diff --git a/targets/ath79-generic b/targets/ath79-generic index 680c9f81..cd005100 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -103,6 +103,10 @@ device('siemens-ws-ap3610', 'siemens_ws-ap3610', { -- TP-Link +device('tp-link-archer-a7-v5', 'tplink_archer-a7-v5', { + packages = ATH10K_PACKAGES_QCA9880, +}) + device('tp-link-archer-c2-v3', 'tplink_archer-c2-v3', { packages = ATH10K_PACKAGES_QCA9887, class = 'tiny',