aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-09 10:26:08 +0000
committerJohn Crispin <john@openwrt.org>2016-04-09 10:26:08 +0000
commit0c0dc3b2bf96b1fed4b51cadc49a9028254def5a (patch)
tree7cfe746f0b89df75bcdb2c9ef1c20a3ef23f49c6
parent2b541ce3f993f1b714113e686910114c62c1d613 (diff)
downloadupstream-0c0dc3b2bf96b1fed4b51cadc49a9028254def5a.tar.gz
upstream-0c0dc3b2bf96b1fed4b51cadc49a9028254def5a.tar.bz2
upstream-0c0dc3b2bf96b1fed4b51cadc49a9028254def5a.zip
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49147
-rw-r--r--target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index e6fcec8d1c..1b6de1e1bf 100644
--- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -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
;;
*)