From 6fde0b735c455f834b1ffc10d38c24f056839b29 Mon Sep 17 00:00:00 2001 From: Christoph Krapp Date: Tue, 16 Jul 2019 20:47:49 +0200 Subject: 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 --- .../linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/linux/ath79/base-files/etc/hotplug.d') 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) -- cgit v1.2.3