From 34958c826915cf864833ed8ba6e5b49d44c6cb41 Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Thu, 29 Jun 2017 15:20:31 +0200 Subject: ar71xx: Archer C58/C59/C60 fix qca9886 wireless interface This commit fix 5GHz wireless interface used in Archer C58/C59/C60v1 and set correctly MAC address on this interface. Signed-off-by: Henryk Heisig --- .../ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 6 +++--- .../linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'target/linux/ar71xx/base-files') 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 66796593c0..d96f40d708 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 @@ -56,8 +56,6 @@ case "$FIRMWARE" in ;; archer-c7-v4|\ archer-c25-v1|\ - archer-c59-v1|\ - archer-c60-v1|\ tl-wdr6500-v2) ath10kcal_extract "art" 20480 2116 ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2) @@ -141,7 +139,9 @@ case "$FIRMWARE" in ;; "ath10k/pre-cal-pci-0000:00:00.0.bin") case $board in - archer-c58-v1) + archer-c58-v1|\ + archer-c59-v1|\ + archer-c60-v1) ath10kcal_extract "art" 20480 12064 ;; esac diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac index 77c835f2fd..0530d595a7 100644 --- a/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac @@ -12,7 +12,9 @@ PHYNBR=${DEVPATH##*/phy} board=$(board_name) case "$board" in - archer-c58-v1) + archer-c58-v1|\ + archer-c59-v1|\ + archer-c60-v1) echo $(macaddr_add $(mtd_get_mac_binary mac 8) $(($PHYNBR - 1)) ) > /sys${DEVPATH}/macaddress ;; *) -- cgit v1.2.3