From 28f06e35c0774f5c6741db441fe0440d2242909c Mon Sep 17 00:00:00 2001 From: Felix Baumann Date: Mon, 23 Jan 2023 04:17:53 +0100 Subject: [PATCH] ipq40xx-generic: add linksys-mr8300 --- docs/user/supported_devices.rst | 1 + .../luasrc/lib/gluon/upgrade/010-primary-mac | 1 + targets/ipq40xx-generic | 13 ++++++++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index d4727adaf19..9dd290e48d6 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -198,6 +198,7 @@ ipq40xx-generic * Linksys - EA6350 (v3) + - MR8300 * NETGEAR 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 597201f3a7f..fea416fd435 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -81,6 +81,7 @@ local primary_addrs = { {'brcm2708'}, {'ipq40xx', 'generic', { 'avm,fritzbox-4040', + 'linksys,mr8300', 'plasmacloud,pa1200', 'plasmacloud,pa2200', }}, diff --git a/targets/ipq40xx-generic b/targets/ipq40xx-generic index a7c8f03aed0..a7c4395d895 100644 --- a/targets/ipq40xx-generic +++ b/targets/ipq40xx-generic @@ -1,5 +1,8 @@ local ATH10K_PACKAGES_IPQ40XX = {} -local ATH10K_PACKAGES_IPQ40XX_QCA9888 = {} +local ATH10K_PACKAGES_IPQ40XX_QCA9888 = { -- exclude until Gluon supports third radio + '-ath10k-firmware-qca9888-ct', + '-ath10k-board-qca9888', +} defaults { @@ -73,6 +76,12 @@ device('gl.inet-gl-b1300', 'glinet_gl-b1300', { device('linksys-ea6350v3', 'linksys_ea6350v3') +device('linksys-mr8300-dallas', 'linksys_mr8300', { + packages = ATH10K_PACKAGES_IPQ40XX_QCA9888, + factory = false, + broken = true, -- 3rd WiFi radio not supported (5GHz DFS channels 100+) +}) + -- NETGEAR @@ -91,6 +100,7 @@ device('openmesh-a42', 'openmesh_a42') device('openmesh-a62', 'openmesh_a62', { packages = ATH10K_PACKAGES_IPQ40XX_QCA9888, + broken = true, -- 3rd WiFi radio not supported (5GHz DFS channels 100+) }) @@ -100,6 +110,7 @@ device('plasma-cloud-pa1200', 'plasmacloud_pa1200') device('plasma-cloud-pa2200', 'plasmacloud_pa2200', { packages = ATH10K_PACKAGES_IPQ40XX_QCA9888, + broken = true, -- 3rd WiFi radio not supported (5GHz DFS channels 100+) })