ath79: add support for TP-Link RE350K v1
[openwrt/staging/wigyori.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index faee7819700f00f756107b2719949d0445e5b214..501a475571859332146a7437843b5f2c9d79895b 100644 (file)
@@ -88,7 +88,10 @@ case "$FIRMWARE" in
 "ath10k/cal-pci-0000:00:00.0.bin")
        case $board in
        devolo,dvl1200e|\
-       devolo,dvl1750c)
+       devolo,dvl1200i|\
+       devolo,dvl1750c|\
+       devolo,dvl1750e|\
+       devolo,dvl1750i)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary art 0) -1)
                ;;
@@ -123,15 +126,25 @@ case "$FIRMWARE" in
                ath10kcal_extract "ART" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
                ;;
+       tplink,archer-c2-v3)
+               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)
+               ;;
+       tplink,archer-c5-v1|\
        tplink,archer-c7-v2)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
                ;;
        tplink,archer-a7-v5|\
+       tplink,archer-c7-v4|\
        tplink,archer-c7-v5)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)
                ;;
+       tplink,re350k-v1)
+               ath10kcal_extract "art" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +2)
+               ;;
        ubnt,unifiac-lite|\
        ubnt,unifiac-mesh|\
        ubnt,unifiac-mesh-pro|\
@@ -141,6 +154,9 @@ case "$FIRMWARE" in
        ubnt,unifiac-pro)
                ath10kcal_extract "EEPROM" 20480 2116
                ;;
+       yuncore,a770)
+               ath10kcal_extract "art" 20480 2116
+               ;;
        esac
        ;;
 "ath10k/pre-cal-pci-0000:00:00.0.bin")