[source] ar71xx: Archer C58/C59/C60 fix qca9886 wireless interface
LEDE Commits
lede-commits at lists.infradead.org
Thu Oct 26 05:44:16 PDT 2017
jow pushed a commit to source.git, branch master:
https://git.lede-project.org/34958c826915cf864833ed8ba6e5b49d44c6cb41
commit 34958c826915cf864833ed8ba6e5b49d44c6cb41
Author: Henryk Heisig <hyniu at o2.pl>
AuthorDate: Thu Jun 29 15:20:31 2017 +0200
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 <hyniu at o2.pl>
---
.../ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 6 +++---
.../linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac | 4 +++-
target/linux/ar71xx/image/tp-link.mk | 6 +++---
3 files changed, 9 insertions(+), 7 deletions(-)
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 6679659..d96f40d 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 77c835f..0530d59 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
;;
*)
diff --git a/target/linux/ar71xx/image/tp-link.mk b/target/linux/ar71xx/image/tp-link.mk
index 868bbda..b7689c2 100644
--- a/target/linux/ar71xx/image/tp-link.mk
+++ b/target/linux/ar71xx/image/tp-link.mk
@@ -118,7 +118,7 @@ endef
define Device/archer-c58-v1
$(Device/archer-cxx)
DEVICE_TITLE := TP-LINK Archer C58 v1
- DEVICE_PACKAGES := kmod-ath10k
+ DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9888
BOARDNAME := ARCHER-C58-V1
TPLINK_BOARD_ID := ARCHER-C58-V1
DEVICE_PROFILE := ARCHERC58V1
@@ -130,7 +130,7 @@ endef
define Device/archer-c59-v1
$(Device/archer-cxx)
DEVICE_TITLE := TP-LINK Archer C59 v1
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca988x
+ DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport kmod-ath10k ath10k-firmware-qca9888
BOARDNAME := ARCHER-C59-V1
TPLINK_BOARD_ID := ARCHER-C59-V1
DEVICE_PROFILE := ARCHERC59V1
@@ -142,7 +142,7 @@ endef
define Device/archer-c60-v1
$(Device/archer-cxx)
DEVICE_TITLE := TP-LINK Archer C60 v1
- DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
+ DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca9888
BOARDNAME := ARCHER-C60-V1
TPLINK_BOARD_ID := ARCHER-C60-V1
DEVICE_PROFILE := ARCHERC60V1
More information about the lede-commits
mailing list