Re: [OpenWrt-Devel] [PATCH] openwrt-18.06: ar71xx: Fix 5 GHz MAC address for Archer C60 v2

2019-02-20 Thread Adrian Schmutzler
Hi,

the equivalent patch has been merged into master:

https://github.com/openwrt/openwrt/commit/319c5d7c49503d1afbfb3164b18cf966e11fac6a

So maybe this one can be reconsidered for openwrt-18.06 ...

Best

Adrian


> -Original Message-
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On
> Behalf Of Jo-Philipp Wich
> Sent: Mittwoch, 30. Januar 2019 10:20
> To: openwrt-devel@lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH] openwrt-18.06: ar71xx: Fix 5 GHz MAC
> address for Archer C60 v2
> 
> Hi,
> 
> this patch should go through master first. It currently does not apply
> there.
> 
> ~ Jo


pgp3QX9s6JfYR.pgp
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] openwrt-18.06: ar71xx: Fix 5 GHz MAC address for Archer C60 v2

2019-01-30 Thread Jo-Philipp Wich
Hi,

this patch should go through master first. It currently does not apply
there.

~ Jo



signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] openwrt-18.06: ar71xx: Fix 5 GHz MAC address for Archer C60 v2

2019-01-26 Thread Adrian Schmutzler
Looks like C60 v2 needs the MAC address to be calculated
manually, while the C60 v1 gets it correctly without manual
interference.

Signed-off-by: Adrian Schmutzler 
---
 .../ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata 
b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 53f5377..d21d413 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -168,13 +168,18 @@ case "$FIRMWARE" in
archer-c58-v1|\
archer-c59-v1|\
archer-c60-v1|\
-   archer-c60-v2|\
cf-e355ac-v2|\
cf-e375ac)
ath10kcal_extract "art" 20480 12064
ln -sf /lib/firmware/ath10k/pre-cal-pci-\:00\:00.0.bin \
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
;;
+   archer-c60-v2)
+   ath10kcal_extract "art" 20480 12064
+   ln -sf /lib/firmware/ath10k/pre-cal-pci-\:00\:00.0.bin \
+   /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
+   ath10kcal_patch_mac $(macaddr_add $(cat 
/sys/class/net/eth0/address) -1)
+   ;;
cf-e385ac)
ath10kcal_extract "art" 20480 12064
;;
-- 
2.7.4


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel