2 # Based on ar71xx 11-ath10k-caldata and 10-rt2x00-eeprom
4 [ -e /lib
/firmware
/$FIRMWARE ] && exit 0
6 .
/lib
/functions
/caldata.sh
9 "ath10k/cal-pci-0000:02:00.0.bin")
13 caldata_extract_ubi
"caldata" 0x5000 0x844
14 ath10kcal_patch_mac $
(macaddr_add $
(mtd_get_mac_binary_ubi caldata
0x110c) +3)
17 caldata_die
"board $board is not supported yet"