ipq40xx: add support for Aruba AP-303
[openwrt/openwrt.git] / target / linux / ipq40xx / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index 3d46519..8b6abc4 100644 (file)
@@ -51,6 +51,10 @@ case "$FIRMWARE" in
        qcom,ap-dk01.1-c1)
                caldata_extract "ART" 0x1000 0x2f20
                ;;
+       aruba,ap-303)
+               caldata_extract "ART" 0x1000 0x2f20
+               ath10k_patch_mac $(mtd_get_mac_binary mfginfo 0x1D)
+               ;;
        asus,map-ac2200)
                caldata_extract_ubi "Factory" 0x1000 0x2f20
                ;;
@@ -116,6 +120,10 @@ case "$FIRMWARE" in
        qcom,ap-dk01.1-c1)
                caldata_extract "ART" 0x5000 0x2f20
                ;;
+       aruba,ap-303)
+               caldata_extract "ART" 0x5000 0x2f20
+               ath10k_patch_mac $(macaddr_add $(mtd_get_mac_binary mfginfo 0x1D) +1)
+               ;;
        asus,map-ac2200)
                caldata_extract_ubi "Factory" 0x5000 0x2f20
                ;;