0070-ar71xx-extract-ath10k-wifi-board.bin-for-the-OpenMesh-OM5P-AC-board.patch 936 B

12345678910111213141516171819202122232425
  1. From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  2. Date: Sat, 9 Apr 2016 10:26:08 +0000
  3. Subject: ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
  4. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
  5. Backport of r49147
  6. Forwarded: https://patchwork.ozlabs.org/patch/624197/
  7. 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
  8. index cde7aaf..c1f4b85 100644
  9. --- a/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
  10. +++ b/target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
  11. @@ -96,6 +96,10 @@ case "$FIRMWARE" in
  12. rb-911g-5hpacd)
  13. ath10kcal_from_file "/sys/firmware/routerboot/ext_wlan_data" 20480 2116
  14. ;;
  15. + om5p-ac)
  16. + ath10kcal_extract "ART" 20480 2116
  17. + ath10kcal_patch_mac $(macaddr_add $(cat /sys/class/net/eth0/address) +16)
  18. + ;;
  19. esac
  20. ;;
  21. *)