ar71xx: add support for Nokia WI2A-AC200i
[openwrt/staging/dedeckeh.git] / target / linux / ar71xx / base-files / etc / hotplug.d / firmware / 11-ath10k-caldata
index a2e98f4be7c70703ab25b6fa26f3e25499090566..9a5f82b7cd6dfe3b3efc0f0860ae39926b9156e1 100644 (file)
@@ -38,11 +38,10 @@ ath10kcal_patch_mac() {
 
 [ -e /lib/firmware/$FIRMWARE ] && exit 0
 
-. /lib/ar71xx.sh
 . /lib/functions.sh
 . /lib/functions/system.sh
 
-board=$(ar71xx_board_name)
+board=$(board_name)
 
 case "$FIRMWARE" in
 "ath10k/cal-pci-0000:00:00.0.bin")
@@ -62,6 +61,7 @@ case "$FIRMWARE" in
                ath10kcal_extract "art" 20480 2116
                ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth1/address) -2)
                ;;
+       cf-e355ac|\
        cf-e380ac-v1|\
        cf-e380ac-v2|\
        dlan-pro-1200-ac|\
@@ -111,6 +111,9 @@ case "$FIRMWARE" in
        unifiac-pro)
                ath10kcal_extract "EEPROM" 20480 2116
                ;;
+       wi2a-ac200i)
+               ath10kcal_extract "ART" 20480 2116
+               ;;
        esac
        ;;
 "ath10k/cal-pci-0000:01:00.0.bin")