0123-ath10k-firmware-add-ath10k-firmware-qca988x-11s.patch 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Fri, 9 Sep 2016 01:54:44 +0200
  3. Subject: ath10k-firmware: add ath10k-firmware-qca988x-11s
  4. diff --git a/package/firmware/ath10k-firmware/Makefile b/package/firmware/ath10k-firmware/Makefile
  5. index 624da6a..3a4f0c5 100644
  6. --- a/package/firmware/ath10k-firmware/Makefile
  7. +++ b/package/firmware/ath10k-firmware/Makefile
  8. @@ -8,7 +8,7 @@
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=ath10k-firmware
  11. -PKG_SOURCE_VERSION:=b00eb8d30fbebb6a5047ccacefa8c37e072fca9c
  12. +PKG_SOURCE_VERSION:=307cb46b06661ebd3186723b5002de769c7add83
  13. PKG_VERSION:=2014-11-13-$(PKG_SOURCE_VERSION)
  14. PKG_RELEASE:=1
  15. @@ -104,6 +104,11 @@ $(Package/ath10k-firmware-default)
  16. TITLE:=ath10k firmware for QCA99x0 devices
  17. endef
  18. +define Package/ath10k-firmware-qca988x-11s
  19. +$(Package/ath10k-firmware-default)
  20. + TITLE:=ath10k firmware for QCA988x devices (with 11s support)
  21. +endef
  22. +
  23. define Package/ath10k-firmware-qca988x-ct
  24. $(Package/ath10k-firmware-default)
  25. TITLE:=ath10k CT 10.1 firmware for QCA988x devices
  26. @@ -188,17 +193,27 @@ endef
  27. define Package/ath10k-firmware-qca988x/install
  28. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  29. $(INSTALL_DATA) \
  30. - $(PKG_BUILD_DIR)/QCA988X/board.bin \
  31. + $(PKG_BUILD_DIR)/QCA988X/hw2.0/board.bin \
  32. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
  33. $(INSTALL_DATA) \
  34. $(DL_DIR)/$(QCA988X_FIRMWARE_FILE) \
  35. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
  36. endef
  37. +define Package/ath10k-firmware-qca988x-11s/install
  38. + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  39. + $(INSTALL_DATA) \
  40. + $(PKG_BUILD_DIR)/QCA988X/hw2.0/board.bin \
  41. + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
  42. + $(INSTALL_DATA) \
  43. + $(PKG_BUILD_DIR)/QCA988X/hw2.0/10.2.4.70/firmware-5.bin_10.2.4.70.54 \
  44. + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
  45. +endef
  46. +
  47. define Package/ath10k-firmware-qca988x-ct/install
  48. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  49. $(INSTALL_DATA) \
  50. - $(PKG_BUILD_DIR)/QCA988X/board.bin \
  51. + $(PKG_BUILD_DIR)/QCA988X/hw2.0/board.bin \
  52. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
  53. $(INSTALL_DATA) \
  54. $(DL_DIR)/$(QCA988X_FIRMWARE_FILE_CT) \
  55. @@ -268,6 +283,8 @@ $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
  56. $(eval $(call BuildPackage,ath10k-firmware-qca6174))
  57. $(eval $(call BuildPackage,ath10k-firmware-qca9984))
  58. +$(eval $(call BuildPackage,ath10k-firmware-qca988x-11s))
  59. +
  60. $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
  61. $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
  62. $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))