0008-ath10k-firmware-add-Candela-Technologies-firmware-for-QCA988X.patch 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Tue, 9 Feb 2016 18:22:29 +0100
  3. Subject: ath10k-firmware: add Candela Technologies firmware for QCA988X
  4. diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
  5. index 882294c..c6e6f2d 100644
  6. --- a/package/firmware/ath10k-firmware/Makefile
  7. +++ b/package/firmware/ath10k-firmware/Makefile
  8. @@ -46,6 +46,26 @@ define Download/ath10k-firmware-qca988x
  9. endef
  10. $(eval $(call Download,ath10k-firmware-qca988x))
  11. +
  12. +define Package/ath10k-firmware-qca988x-ct
  13. +$(Package/ath10k-firmware-default)
  14. + TITLE:=ath10k firmware for QCA988x devices (Candela Technologies version)
  15. + CONFLICTS:=ath10k-firmware-qca988x
  16. +endef
  17. +
  18. +QCA988X_CT_FIRMWARE_FILE:=firmware-5-ct-full-community.bin
  19. +
  20. +define Download/ath10k-firmware-qca988x-ct
  21. + # See http://www.candelatech.com/ath10k.php
  22. + #URL:=http://www.candelatech.com/downloads/ath10k-10-2/
  23. + # Update to beta version (will switch back to official URL after v2 release)
  24. + URL:=https://home.universe-factory.net/neoraider/
  25. + FILE:=$(QCA988X_CT_FIRMWARE_FILE)
  26. + MD5SUM:=9aa205cfd6b98e695ca8e9ae6d1bcb6b
  27. +endef
  28. +$(eval $(call Download,ath10k-firmware-qca988x-ct))
  29. +
  30. +
  31. define Package/ath10k-firmware-qca99x0
  32. $(Package/ath10k-firmware-default)
  33. TITLE:=ath10k firmware for QCA99x0 devices
  34. @@ -81,6 +101,16 @@ define Package/ath10k-firmware-qca988x/install
  35. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
  36. endef
  37. +define Package/ath10k-firmware-qca988x-ct/install
  38. + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  39. + $(INSTALL_DATA) \
  40. + $(PKG_BUILD_DIR)/QCA988X/board.bin \
  41. + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
  42. + $(INSTALL_DATA) \
  43. + $(DL_DIR)/$(QCA988X_CT_FIRMWARE_FILE) \
  44. + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
  45. +endef
  46. +
  47. define Package/ath10k-firmware-qca6174/install
  48. $(INSTALL_DIR) $(1)/lib/firmware/ath10k
  49. $(CP) $(PKG_BUILD_DIR)/QCA6174 $(1)/lib/firmware/ath10k/
  50. @@ -100,5 +130,6 @@ define Package/ath10k-firmware-qca99x0/install
  51. endef
  52. $(eval $(call BuildPackage,ath10k-firmware-qca988x))
  53. +$(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
  54. $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
  55. $(eval $(call BuildPackage,ath10k-firmware-qca6174))