aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata')
-rw-r--r--target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 8de4e052cc..78315d4516 100644
--- a/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -7,6 +7,14 @@
board=$(board_name)
case "$FIRMWARE" in
+"ath10k/cal-pci-0000:01:00.0.bin")
+ case "$board" in
+ meraki,mr52)
+ CI_UBIPART=art
+ caldata_extract_ubi "ART" 0x1000 0x844
+ ;;
+ esac
+ ;;
"ath10k/pre-cal-pci-0000:01:00.0.bin")
case $board in
askey,rt4230w-rev6)
@@ -26,6 +34,10 @@ case "$FIRMWARE" in
caldata_extract "art" 0x1000 0x2f20
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) 1)
;;
+ meraki,mr42)
+ CI_UBIPART=art
+ caldata_extract_ubi "ART" 0x1000 0x2f20
+ ;;
netgear,d7800 |\
netgear,r7500v2 |\
netgear,r7800 |\
@@ -64,6 +76,11 @@ case "$FIRMWARE" in
caldata_extract "art" 0x5000 0x2f20
ath10k_patch_mac $(macaddr_add $(mtd_get_mac_ascii devinfo hw_mac_addr) 2)
;;
+ meraki,mr42 |\
+ meraki,mr52)
+ CI_UBIPART=art
+ caldata_extract_ubi "ART" 0x5000 0x2f20
+ ;;
netgear,d7800 |\
netgear,r7500v2 |\
netgear,r7800 |\
@@ -80,11 +97,23 @@ case "$FIRMWARE" in
;;
esac
;;
+"ath10k/cal-pci-0002:01:00.0.bin")
+ case "$board" in
+ meraki,mr42)
+ CI_UBIPART=art
+ caldata_extract_ubi "ART" 0x9000 0x844
+ ;;
+ esac
+ ;;
"ath10k/pre-cal-pci-0002:01:00.0.bin")
case $board in
edgecore,ecw5410)
caldata_extract "0:art" 0x5000 0x2f20
;;
+ meraki,mr52)
+ CI_UBIPART=art
+ caldata_extract_ubi "ART" 0x9000 0x2f20
+ ;;
esac
;;
*)