ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
authorJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:26:08 +0000 (10:26 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 9 Apr 2016 10:26:08 +0000 (10:26 +0000)
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49147

target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata

index e6fcec8d1c4d4313da8e76dbf7876aa5a79b0f7c..1b6de1e1bff149a2f94b1706fc3fae65f6856a90 100644 (file)
@@ -95,6 +95,10 @@ case "$FIRMWARE" in
        rb-911g-5hpacd)
                ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
                ;;
+       om5p-ac)
+               ath10kcal_extract "ART" 20480 2116
+               ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
+               ;;
        esac
        ;;
 *)