summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
diff options
context:
space:
mode:
authorChristoph Krapp <achterin@googlemail.com>2019-07-16 20:47:49 +0200
committerDavid Bauer <mail@david-bauer.net>2019-07-17 23:14:23 +0200
commit6fde0b735c455f834b1ffc10d38c24f056839b29 (patch)
tree4ca03c01aab370af54e3b1352ecd5d827733ba6a /target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
parent8c51ddeff0876b439ac35a3f492ab719085bfb9c (diff)
downloadopenwrt-6fde0b735c455f834b1ffc10d38c24f056839b29.tar.gz
openwrt-6fde0b735c455f834b1ffc10d38c24f056839b29.tar.bz2
openwrt-6fde0b735c455f834b1ffc10d38c24f056839b29.zip
ath79: add support for TP-Link RE355 v1 and RE450 v1
Specification: SoC: Qualcomm Atheros QCA9558 RAM: 64/128MiB Flash: 8MiB SPI-NOR Wifi: - 2.4GHz: 3T3R (QCA9558) - 5GHz: 3T3R (QCA9880) LAN: 1x 10/100/1000 Mbps UART: - TP1: Tx - TP2: Rx - TP3: Gnd - TP4: 3v3 Flash instructions: Flash factory image through stock firmware WEB UI. Signed-off-by: Christoph Krapp <achterin@googlemail.com>
Diffstat (limited to 'target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata')
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata5
1 files changed, 5 insertions, 0 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 149d744eb8..bdc0faffc8 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
@@ -163,6 +163,11 @@ case "$FIRMWARE" in
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary config 0x10008) +2)
;;
+ tplink,re355-v1|\
+ tplink,re450-v1)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -2)
+ ;;
tplink,re450-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 8) +1)