aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d
diff options
context:
space:
mode:
authorSibren Vasse <github@sibrenvasse.nl>2018-06-26 07:25:33 +0200
committerJohn Crispin <john@phrozen.org>2018-06-26 08:57:26 +0200
commitba74b45476ab1fe36f8449b18501ba5d2c01cf8c (patch)
tree9c886cda6f584d3a8a3bec93b6a81bb59ce3ee59 /target/linux/ath79/base-files/etc/hotplug.d
parent2a7e03af37d1112c2c2f6b6c80283d4d49407889 (diff)
downloadupstream-ba74b45476ab1fe36f8449b18501ba5d2c01cf8c.tar.gz
upstream-ba74b45476ab1fe36f8449b18501ba5d2c01cf8c.tar.bz2
upstream-ba74b45476ab1fe36f8449b18501ba5d2c01cf8c.zip
ath79: add support for TP-Link Archer c7 v2
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index e3a3432dd1..20df5a220f 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -87,10 +87,14 @@ board=$(board_name)
case "$FIRMWARE" in
"ath10k/cal-pci-0000:00:00.0.bin")
case $board in
- openmesh,om5p-ac-v2)
+ "openmesh,om5p-ac-v2")
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
+ "tplink,tl-archer-c7-v2")
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
+ ;;
"ubnt,ubnt-unifiac-lite")
ath10kcal_extract "EEPROM" 20480 2116
;;