ipq806x: add support for ASRock G10
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index 74ad00c5ced91f53b99b554efe235eaf2528a789..a22af9b676f9b2e97d763bf8fddf47fee1af4806 100644 (file)
@@ -9,6 +9,9 @@ board=$(board_name)
 case "$FIRMWARE" in
 "ath10k/pre-cal-pci-0000:01:00.0.bin")
        case $board in
+       asrock,g10)
+               caldata_extract "0:ART" 0x1000 0x2f20
+               ;;
        buffalo,wxr-2533dhp)
                caldata_extract "ART" 0x1000 0x2f20
                ath10k_patch_mac $(mtd_get_mac_binary ART 0x1e)
@@ -47,6 +50,9 @@ case "$FIRMWARE" in
        ;;
 "ath10k/pre-cal-pci-0001:01:00.0.bin")
        case $board in
+       asrock,g10)
+               caldata_extract "0:ART" 0x5000 0x2f20
+               ;;
        buffalo,wxr-2533dhp)
                caldata_extract "ART" 0x5000 0x2f20
                ath10k_patch_mac $(mtd_get_mac_binary ART 0x18)