From a31457d83976afebd6f52584ee9091cf90b3cf8d Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 3 Jun 2018 10:52:47 +0200 Subject: [PATCH] ipq40xx: add support for OpenMesh A62 This device is a dual 5GHz device. It is recommended to manually change the radio of the first device to the lower 5GHz channels and the second radio to the upper 5GHz channels. Signed-off-by: Sven Eckelmann --- docs/index.rst | 1 + package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac | 2 +- targets/ipq40xx | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index edf7bbae..5868a6a0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -281,6 +281,7 @@ ipq40xx * OpenMesh - A42 + - A62 ipq806x ^^^^^^^ 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 5cd3f1ed..5ecdf2a1 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/010-primary-mac @@ -44,7 +44,7 @@ elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c58-v1', 'archer-c59-v1', 'archer-c60-v1', 'archer-c7'}) then table.insert(try_files, 1, '/sys/class/net/eth1/address') -elseif platform.match('ipq40xx', nil, {'openmesh,a42'}) then +elseif platform.match('ipq40xx', nil, {'openmesh,a42', 'openmesh,a62'}) then table.insert(try_files, 1, '/sys/class/net/eth0/address') end diff --git a/targets/ipq40xx b/targets/ipq40xx index 6c1400bc..b7bda6e6 100644 --- a/targets/ipq40xx +++ b/targets/ipq40xx @@ -1,7 +1,10 @@ -ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca4019 ath10k-firmware-qca4019-ct' +ATH10K_PACKAGES='-kmod-ath10k kmod-ath10k-ct -ath10k-firmware-qca4019 ath10k-firmware-qca4019-ct -ath10k-firmware-qca9888 ath10k-firmware-qca9888-ct' # OpenMesh device openmesh-a42 openmesh_a42 packages $ATH10K_PACKAGES + +device openmesh-a62 openmesh_a62 +packages $ATH10K_PACKAGES