mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-25 10:52:48 +00:00
21 lines
282 B
Plaintext
21 lines
282 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
||
|
|
||
|
. /lib/functions/caldata.sh
|
||
|
|
||
|
board=$(board_name)
|
||
|
|
||
|
case "$FIRMWARE" in
|
||
|
"ath11k/IPQ8074/hw2.0/cal-ahb-c000000.wifi.bin")
|
||
|
case "$board" in
|
||
|
xiaomi,ax3600)
|
||
|
caldata_extract "0:art" 0x1000 0x20000
|
||
|
;;
|
||
|
esac
|
||
|
;;
|
||
|
*)
|
||
|
exit 1
|
||
|
;;
|
||
|
esac
|