ath79: add support for TP-Link Deco M4R v1 and v2
[openwrt/staging/mkresin.git] / target / linux / ath79 / generic / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index a7ea58b50749cfb5a18b4039ac9656f0cf9d72ff..668fd76af3a43afabd5c1eee0246a56009d426da 100644 (file)
@@ -11,6 +11,8 @@ case "$FIRMWARE" in
 "ath10k/cal-pci-0000:00:00.0.bin")
        case $board in
        allnet,all-wap02860ac|\
+       araknis,an-500-ap-i-ac|\
+       araknis,an-700-ap-i-ac|\
        engenius,eap1200h|\
        engenius,enstationac-v1|\
        glinet,gl-x750)
@@ -27,6 +29,10 @@ case "$FIRMWARE" in
        qxwlan,e1700ac-v2-16m|\
        qxwlan,e600gac-v2-8m|\
        qxwlan,e600gac-v2-16m|\
+       sophos,ap55|\
+       sophos,ap55c|\
+       sophos,ap100|\
+       sophos,ap100c|\
        ubnt,aircube-ac|\
        ubnt,bullet-ac|\
        ubnt,unifiac-lite|\
@@ -44,7 +50,8 @@ case "$FIRMWARE" in
        ubnt,powerbeam-5ac-gen2|\
        ubnt,rocket-5ac-lite|\
        ubnt,unifiac-pro|\
-       yuncore,a770)
+       yuncore,a770|\
+       yuncore,xd3200)
                caldata_extract "art" 0x5000 0x844
                ;;
        avm,fritz1750e|\
@@ -247,10 +254,7 @@ case "$FIRMWARE" in
                ;;
        tplink,eap225-outdoor-v1|\
        tplink,eap225-v3|\
-       tplink,eap225-wall-v2|\
-       tplink,tl-wpa8630p-v2-int|\
-       tplink,tl-wpa8630p-v2.0-eu|\
-       tplink,tl-wpa8630p-v2.1-eu)
+       tplink,eap225-wall-v2)
                caldata_extract "art" 0x5000 0x2f20
                ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary info 0x8) 1)
                ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
@@ -265,6 +269,12 @@ case "$FIRMWARE" in
                ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
                        /lib/firmware/ath10k/QCA9984/hw1.0/board.bin
                ;;
+       tplink,deco-m4r-v1)
+               caldata_extract "art" 0x5000 0x2f20
+               ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary config 0x8) -1)
+               ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
+                       /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
+               ;;
        yuncore,a782|\
        yuncore,xd4200)
                caldata_extract "art" 0x5000 0x2f20