ipq40xx: add support for EnGenius ENS620EXT
[openwrt/staging/rmilecki.git] / target / linux / ipq40xx / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index 8520dfb41d36b640d3585956feadae7fef0a1bf1..af84e4e84ac7039408b1402ef9cd6853332c4b1c 100644 (file)
@@ -152,6 +152,10 @@ case "$FIRMWARE" in
        qxwlan,e2600ac-c2)
                ath10kcal_extract "0:ART" 4096 12064
                ;;
+       engenius,ens620ext)
+               ath10kcal_extract "ART" 4096 12064
+               ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +2)
+               ;;
        meraki,mr33)
                ath10kcal_ubi_extract "ART" 4096 12064
                ath10kcal_is_caldata_valid "202f" || ath10kcal_extract "ART" 4096 12064
@@ -201,6 +205,10 @@ case "$FIRMWARE" in
        qxwlan,e2600ac-c2)
                ath10kcal_extract "0:ART" 20480 12064
                ;;
+       engenius,ens620ext)
+               ath10kcal_extract "ART" 20480 12064
+               ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +3)
+               ;;
        meraki,mr33)
                ath10kcal_ubi_extract "ART" 20480 12064
                ath10kcal_is_caldata_valid "202f" || ath10kcal_extract "ART" 20480 12064