qualcommax: ipq60xx: add support for netgear wax214
[openwrt/staging/nbd.git] / target / linux / qualcommax / ipq60xx / base-files / etc / hotplug.d / firmware / 11-ath11-caldata
1 #!/bin/sh
2
3 [ -e /lib/firmware/$FIRMWARE ] && exit 0
4
5 . /lib/functions/caldata.sh
6
7 board=$(board_name)
8
9 case "$FIRMWARE" in
10 "ath11k/IPQ6018/hw1.0/cal-ahb-c000000.wifi.bin")
11 case "$board" in
12 8devices,mango-dvk)
13 caldata_extract "0:ART" 0x1000 0x20000
14 ;;
15 netgear,wax214)
16 caldata_extract "0:art" 0x1000 0x10000
17 ;;
18 esac
19 ;;
20 *)
21 exit 1
22 ;;
23 esac