case "$FIRMWARE" in
"ath10k/cal-pci-0000:00:00.0.bin")
case $board in
- glinet,x750)
+ devolo,dvl1200e|\
+ devolo,dvl1200i|\
+ devolo,dvl1750c|\
+ devolo,dvl1750e|\
+ devolo,dvl1750i)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary art 0) -1)
+ ;;
+ dlink,dir-859-a1)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac $(mtd_get_mac_ascii devdata "wlan5mac")
+ ;;
+ elecom,wrc-1750ghbk2-i)
+ ath10kcal_extract "ART" 20480 2116
+ ;;
+ engenius,ews511ap|\
+ glinet,gl-ar750s|\
+ glinet,gl-x750|\
+ tplink,re450-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
;;
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_ascii u-boot-env ethaddr) +1)
;;
+ nec,wg800hp)
+ ath10kcal_extract "art" 20480 2116
+ ath10kcal_patch_mac_crc $(mtd_get_mac_text board_data 2176)
+ ;;
ocedo,koala)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(mtd_get_mac_binary art 12)
ath10kcal_extract "ART" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
;;
+ tplink,archer-c2-v3)
+ ath10kcal_extract "ART" 20480 2116
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)
+ ;;
+ tplink,archer-c5-v1|\
tplink,archer-c7-v2)
ath10kcal_extract "art" 20480 2116
ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -1)
;;
- tplink,re450-v2)
+ tplink,archer-a7-v5|\
+ tplink,archer-c7-v4|\
+ tplink,archer-c7-v5)
ath10kcal_extract "art" 20480 2116
- ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +1)
+ ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) -1)
;;
ubnt,unifiac-lite|\
ubnt,unifiac-mesh|\
ubnt,unifiac-pro)
ath10kcal_extract "EEPROM" 20480 2116
;;
+ yuncore,a770)
+ ath10kcal_extract "art" 20480 2116
+ ;;
esac
;;
"ath10k/pre-cal-pci-0000:00:00.0.bin")
ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
;;
+ tplink,archer-c58-v1|\
+ tplink,archer-c59-v1|\
+ tplink,archer-c6-v2)
+ ath10kcal_extract "art" 20480 12064
+ ath10kcal_patch_mac_crc $(macaddr_add $(mtd_get_mac_binary mac 8) -1)
+ ln -sf /lib/firmware/ath10k/pre-cal-pci-0000\:00\:00.0.bin \
+ /lib/firmware/ath10k/QCA9888/hw2.0/board.bin
+ ;;
esac
;;
*)