ar71xx: add userspace support for D-Link DIR-869 A1, generate images
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index fbbfbd7eea1d4c240c918b98f8eb4e6c1a63cf87..a0a111b3d1520d6c9d66e767b547cec579a22f7c 100644 (file)
@@ -54,14 +54,34 @@ 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)
                ;;
+       dir-869-a1 | \
        qihoo-c301)
                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)
+               ;;
+       mr1750 | \
+       mr1750v2 | \
+       om5p-acv2)
+               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
+               ;;
+       unifiac-lite | \
+       unifiac-pro)
+               ath10kcal_extract "EEPROM" 20480 2116
+               ;;
        esac
        ;;
 "ath10k/cal-pci-0000:01:00.0.bin")
@@ -71,12 +91,18 @@ case "$FIRMWARE" in
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
                ;;
+       nbg6616 | \
        nbg6716)
                ath10kcal_extract "RFdata" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
                ;;
        rb-911g-5hpacd)
                ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
                ;;
+       om5p-ac)
+               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
+               ;;
        esac
        ;;
 *)