ipq806x: add support for Buffalo WXR-2533DHP
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index ba7a8e0..e05f2b2 100644 (file)
@@ -79,6 +79,10 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath10k/pre-cal-pci-0000:01:00.0.bin")
        case $board in
+       buffalo,wxr-2533dhp)
+               ath10kcal_extract "ART" 4096 12064
+               ath10kcal_patch_mac_crc $(mtd_get_mac_binary ART 30)
+               ;;
        linksys,ea8500)
                ath10kcal_extract "art" 4096 12064
                ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) +1)
@@ -109,6 +113,10 @@ case "$FIRMWARE" in
        ;;
 "ath10k/pre-cal-pci-0001:01:00.0.bin")
        case $board in
+       buffalo,wxr-2533dhp)
+               ath10kcal_extract "ART" 20480 12064
+               ath10kcal_patch_mac_crc $(mtd_get_mac_binary ART 24)
+               ;;
        linksys,ea8500)
                ath10kcal_extract "art" 20480 12064
                ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) +2)