ar71xx: add support for TP-Link TL-WDR6500 v2
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index fbbfbd7eea1d4c240c918b98f8eb4e6c1a63cf87..a79643e2ae991c38b8d7533677631db160cd3e45 100644 (file)
@@ -54,6 +54,10 @@ case "$FIRMWARE" in
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
                ;;
+       tl-wdr6500-v2)
+               ath10kcal_extract "art" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
+               ;;
        r6100)
                ath10kcal_extract "caldata" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) +2)
@@ -62,6 +66,11 @@ case "$FIRMWARE" in
                ath10kcal_extract "radiocfg" 20480 2116
                ath10kcal_patch_mac $(mtd_get_mac_ascii devdata wlan5mac)
                ;;
+       esr1750 | \
+       epg5000)
+               ath10kcal_extract "caldata" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
+               ;;
        esac
        ;;
 "ath10k/cal-pci-0000:01:00.0.bin")