ath79: add support for TP-Link Archer D50 V1
[openwrt/staging/blogic.git] / target / linux / ath79 / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index bfddb5f1c3113660120613a5780a10824c5c1f43..b2f5d17213c921604626a715b830cb832ac6d755 100644 (file)
@@ -102,6 +102,10 @@ case "$FIRMWARE" in
        elecom,wrc-1750ghbk2-i)
                ath10kcal_extract "ART" 20480 2116
                ;;
+       engenius,ecb1750)
+               ath10kcal_extract "art" 20480 2116
+               ath10kcal_patch_mac $(mtd_get_mac_ascii u-boot-env athaddr)
+               ;;
        engenius,epg5000|\
        iodata,wn-ac1167dgr|\
        iodata,wn-ac1600dgr2)
@@ -143,6 +147,10 @@ case "$FIRMWARE" in
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)
                ;;
+        tplink,archer-d50-v1)
+               ath10kcal_extract "art" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) +2)
+                ;;
        tplink,re350k-v1)
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +2)
@@ -170,6 +178,11 @@ case "$FIRMWARE" in
                ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
                        /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
                ;;
+       netgear,ex6400|\
+       netgear,ex7300)
+               ath10kcal_extract "caldata" 20480 12064
+               ath10kcal_patch_mac $(mtd_get_mac_binary caldata 12)
+               ;;
        phicomm,k2t)
                ath10kcal_extract "art" 20480 12064
                ath10kcal_patch_mac_crc $(k2t_get_mac "5g_mac")