Makefile 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ath10k-ct-firmware
  3. PKG_VERSION:=2020.11.08
  4. PKG_RELEASE:=1
  5. DL_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  6. include $(INCLUDE_DIR)/package.mk
  7. CT_FIRMWARE_FILE = $(1)-$($(1)_FIRMWARE_FILE_CT)
  8. CT_FIRMWARE_FILE_FULL_HTT = $(1)-$($(1)_FIRMWARE_FILE_CT_FULL_HTT)
  9. CT_FIRMWARE_FILE_HTT = $(1)-$($(1)_FIRMWARE_FILE_CT_HTT)
  10. define Download/ct-firmware
  11. URL:=https://www.candelatech.com/downloads/$(2)
  12. FILE:=$(call CT_FIRMWARE_FILE,$(1))
  13. URL_FILE:=$($(1)_FIRMWARE_FILE_CT)
  14. endef
  15. define Download/ct-firmware-full-htt
  16. URL:=https://www.candelatech.com/downloads/$(2)
  17. FILE:=$(call CT_FIRMWARE_FILE_FULL_HTT,$(1))
  18. URL_FILE:=$($(1)_FIRMWARE_FILE_CT_FULL_HTT)
  19. endef
  20. define Download/ct-firmware-htt
  21. URL:=https://www.candelatech.com/downloads/$(2)
  22. FILE:=$(call CT_FIRMWARE_FILE_HTT,$(1))
  23. URL_FILE:=$($(1)_FIRMWARE_FILE_CT_HTT)
  24. endef
  25. QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.022
  26. define Download/ath10k-firmware-qca988x-ct
  27. $(call Download/ct-firmware,QCA988X,)
  28. HASH:=398e4380e7e55105f3da0f78af29d1e437404ed3a82597aa4b6daaa7dce1a38e
  29. endef
  30. $(eval $(call Download,ath10k-firmware-qca988x-ct))
  31. QCA988X_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.022
  32. define Download/ath10k-firmware-qca988x-ct-full-htt
  33. $(call Download/ct-firmware-full-htt,QCA988X,)
  34. HASH:=990d9cbf79dd81f141257a289f89808bd7726406c9ed845a7e49e5167002ffde
  35. endef
  36. $(eval $(call Download,ath10k-firmware-qca988x-ct-full-htt))
  37. QCA9887_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.022
  38. define Download/ath10k-firmware-qca9887-ct
  39. $(call Download/ct-firmware,QCA9887,ath10k-9887)
  40. HASH:=a526cb44560da569781e10bf608194b1eff29b250e9887dba6d4d9a15c921c1e
  41. endef
  42. $(eval $(call Download,ath10k-firmware-qca9887-ct))
  43. QCA9887_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.022
  44. define Download/ath10k-firmware-qca9887-ct-full-htt
  45. $(call Download/ct-firmware-full-htt,QCA9887,ath10k-9887)
  46. HASH:=0b60fc558b773e9cbd5c2df903c894a030872fdb96390b0cca4b23b7fc7b881f
  47. endef
  48. $(eval $(call Download,ath10k-firmware-qca9887-ct-full-htt))
  49. QCA99X0_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.022
  50. define Download/ath10k-firmware-qca99x0-ct
  51. $(call Download/ct-firmware,QCA99X0,ath10k-10-4b)
  52. HASH:=578ad67976b61a393eb820a05e8eae70ec95f6b803bedbe952b8ff573eb09abe
  53. endef
  54. $(eval $(call Download,ath10k-firmware-qca99x0-ct))
  55. QCA99X0_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.022
  56. define Download/ath10k-firmware-qca99x0-ct-full-htt
  57. $(call Download/ct-firmware-full-htt,QCA99X0,ath10k-10-4b)
  58. HASH:=8ea5c9f27c048796d406706a9c8471cd070f5aeb768622bb334a04853d557a4d
  59. endef
  60. $(eval $(call Download,ath10k-firmware-qca99x0-ct-full-htt))
  61. QCA99X0_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.022
  62. define Download/ath10k-firmware-qca99x0-ct-htt
  63. $(call Download/ct-firmware-htt,QCA99X0,ath10k-10-4b)
  64. HASH:=7b0b7545114e8dc0f2c70dc8a43a5a48d84d37f2a4673977a692c5f3361445c6
  65. endef
  66. $(eval $(call Download,ath10k-firmware-qca99x0-ct-htt))
  67. QCA9984_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.022
  68. define Download/ath10k-firmware-qca9984-ct
  69. $(call Download/ct-firmware,QCA9984,ath10k-9984-10-4b)
  70. HASH:=7bfe5bf7c38532fa57db62ebc56ec625583928d5d4736475d5dec4d4ae031154
  71. endef
  72. $(eval $(call Download,ath10k-firmware-qca9984-ct))
  73. QCA9984_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.022
  74. define Download/ath10k-firmware-qca9984-ct-full-htt
  75. $(call Download/ct-firmware-full-htt,QCA9984,ath10k-9984-10-4b)
  76. HASH:=672be40c4d987d7e8e309341262a37cda7baf925416d1dc651284b6d2bd30969
  77. endef
  78. $(eval $(call Download,ath10k-firmware-qca9984-ct-full-htt))
  79. QCA9984_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.022
  80. define Download/ath10k-firmware-qca9984-ct-htt
  81. $(call Download/ct-firmware-htt,QCA9984,ath10k-9984-10-4b)
  82. HASH:=a24e887f13aca4358ab2b6a42a7212d066e4d19e29b00bb26f9681b1dc8d0eb0
  83. endef
  84. $(eval $(call Download,ath10k-firmware-qca9984-ct-htt))
  85. QCA4019_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.022
  86. define Download/ath10k-firmware-qca4019-ct
  87. $(call Download/ct-firmware,QCA4019,ath10k-4019-10-4b)
  88. HASH:=503956d9bf09d603e4cf36ac080fa5b5a22032166204e3c15ae898647bc50df3
  89. endef
  90. $(eval $(call Download,ath10k-firmware-qca4019-ct))
  91. QCA4019_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.022
  92. define Download/ath10k-firmware-qca4019-ct-full-htt
  93. $(call Download/ct-firmware-full-htt,QCA4019,ath10k-4019-10-4b)
  94. HASH:=591bf9ed00fb540d7ba034453f17696e8dd91a4b7d81f7cc1ec41f447fa74831
  95. endef
  96. $(eval $(call Download,ath10k-firmware-qca4019-ct-full-htt))
  97. QCA4019_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.022
  98. define Download/ath10k-firmware-qca4019-ct-htt
  99. $(call Download/ct-firmware-htt,QCA4019,ath10k-4019-10-4b)
  100. HASH:=06e58a283ff90d021ff7cb58684cbf39750bd71cf91c56b32add64253133929c
  101. endef
  102. $(eval $(call Download,ath10k-firmware-qca4019-ct-htt))
  103. QCA9888_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.022
  104. define Download/ath10k-firmware-qca9888-ct
  105. $(call Download/ct-firmware,QCA9888,ath10k-9888-10-4b)
  106. HASH:=82ff5afcf0c9dcdb03b0b40c6eddc81e11b18e4f522f681935b5ec42537972ee
  107. endef
  108. $(eval $(call Download,ath10k-firmware-qca9888-ct))
  109. QCA9888_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.022
  110. define Download/ath10k-firmware-qca9888-ct-full-htt
  111. $(call Download/ct-firmware-full-htt,QCA9888,ath10k-9888-10-4b)
  112. HASH:=1a741f2cf43fbea24ed831b4e76cbb114b525d1ee9b917ce0000916cbcc42f92
  113. endef
  114. $(eval $(call Download,ath10k-firmware-qca9888-ct-full-htt))
  115. QCA9888_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.022
  116. define Download/ath10k-firmware-qca9888-ct-htt
  117. $(call Download/ct-firmware-htt,QCA9888,ath10k-9888-10-4b)
  118. HASH:=34bf07912a2f3fce4a5887c690848bb06d339bd1c86541b0b57b9c45eccc88e4
  119. endef
  120. $(eval $(call Download,ath10k-firmware-qca9888-ct-htt))
  121. define Package/ath10k-ct-firmware-default
  122. SECTION:=firmware
  123. CATEGORY:=Firmware
  124. URL:=https://www.candelatech.com/ath10k.php
  125. DEPENDS:=
  126. endef
  127. define Package/ath10k-firmware-qca988x-ct
  128. $(Package/ath10k-ct-firmware-default)
  129. TITLE:=ath10k CT 10.1 firmware for QCA988x devices
  130. SECTION:=firmware
  131. CATEGORY:=Firmware
  132. PROVIDES:=ath10k-firmware-qca988x
  133. CONFLICTS:=ath10k-firmware-qca988x
  134. DEPENDS:=+ath10k-board-qca988x
  135. endef
  136. define Package/ath10k-firmware-qca988x-ct-full-htt
  137. $(Package/ath10k-ct-firmware-default)
  138. TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA988x
  139. SECTION:=firmware
  140. CATEGORY:=Firmware
  141. PROVIDES:=\
  142. ath10k-firmware-qca988x \
  143. ath10k-firmware-qca988x-ct
  144. CONFLICTS:=\
  145. ath10k-firmware-qca988x \
  146. ath10k-firmware-qca988x-ct
  147. DEPENDS:=\
  148. +ath10k-board-qca988x \
  149. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  150. endef
  151. define Package/ath10k-firmware-qca9887-ct
  152. $(Package/ath10k-ct-firmware-default)
  153. TITLE:=ath10k CT 10.1 firmware for QCA9887 devices
  154. SECTION:=firmware
  155. CATEGORY:=Firmware
  156. PROVIDES:=ath10k-firmware-qca9887
  157. CONFLICTS:=ath10k-firmware-qca9887
  158. DEPENDS:=+ath10k-board-qca9887
  159. endef
  160. define Package/ath10k-firmware-qca9887-ct-full-htt
  161. $(Package/ath10k-ct-firmware-default)
  162. TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA9887
  163. SECTION:=firmware
  164. CATEGORY:=Firmware
  165. PROVIDES:=\
  166. ath10k-firmware-qca9887 \
  167. ath10k-firmware-qca9887-ct
  168. CONFLICTS:=\
  169. ath10k-firmware-qca9887 \
  170. ath10k-firmware-qca9887-ct
  171. DEPENDS:=\
  172. +ath10k-board-qca9887 \
  173. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  174. endef
  175. define Package/ath10k-firmware-qca99x0-ct
  176. $(Package/ath10k-ct-firmware-default)
  177. TITLE:=ath10k CT 10.4 firmware for QCA99x0 devices
  178. SECTION:=firmware
  179. CATEGORY:=Firmware
  180. PROVIDES:=ath10k-firmware-qca99x0
  181. CONFLICTS:=ath10k-firmware-qca99x0
  182. DEPENDS:=+ath10k-board-qca99x0
  183. endef
  184. define Package/ath10k-firmware-qca99x0-ct-full-htt
  185. $(Package/ath10k-ct-firmware-default)
  186. TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA99x0
  187. SECTION:=firmware
  188. CATEGORY:=Firmware
  189. PROVIDES:=\
  190. ath10k-firmware-qca99x0 \
  191. ath10k-firmware-qca99x0-ct
  192. CONFLICTS:=\
  193. ath10k-firmware-qca99x0 \
  194. ath10k-firmware-qca99x0-ct \
  195. ath10k-firmware-qca99x0-ct-htt
  196. DEPENDS:=\
  197. +ath10k-board-qca99x0 \
  198. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  199. endef
  200. define Package/ath10k-firmware-qca99x0-ct-htt
  201. $(Package/ath10k-firmware-default)
  202. TITLE:=ath10k CT 10.4 htt-mgt fw for QCA99x0
  203. SECTION:=firmware
  204. CATEGORY:=Firmware
  205. PROVIDES:=\
  206. ath10k-firmware-qca99x0 \
  207. ath10k-firmware-qca99x0-ct
  208. CONFLICTS:=\
  209. ath10k-firmware-qca99x0 \
  210. ath10k-firmware-qca99x0-ct
  211. DEPENDS:=\
  212. +ath10k-board-qca99x0 \
  213. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  214. endef
  215. define Package/ath10k-firmware-qca9984-ct
  216. $(Package/ath10k-ct-firmware-default)
  217. TITLE:=ath10k CT 10.4 firmware for QCA9984 devices
  218. SECTION:=firmware
  219. CATEGORY:=Firmware
  220. PROVIDES:=ath10k-firmware-qca9984
  221. CONFLICTS:=ath10k-firmware-qca9984
  222. DEPENDS:=+ath10k-board-qca9984
  223. endef
  224. define Package/ath10k-firmware-qca9984-ct-full-htt
  225. $(Package/ath10k-ct-firmware-default)
  226. TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9984
  227. SECTION:=firmware
  228. CATEGORY:=Firmware
  229. PROVIDES:=\
  230. ath10k-firmware-qca9984 \
  231. ath10k-firmware-qca9984-ct
  232. CONFLICTS:=\
  233. ath10k-firmware-qca9984 \
  234. ath10k-firmware-qca9984-ct \
  235. ath10k-firmware-qca9984-ct-htt
  236. DEPENDS:=\
  237. +ath10k-board-qca9984 \
  238. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  239. endef
  240. define Package/ath10k-firmware-qca9984-ct-htt
  241. $(Package/ath10k-firmware-default)
  242. TITLE:=ath10k CT 10.4 htt-mgt fw for QCA9984
  243. SECTION:=firmware
  244. CATEGORY:=Firmware
  245. PROVIDES:=\
  246. ath10k-firmware-qca9984 \
  247. ath10k-firmware-qca9984-ct
  248. CONFLICTS:=\
  249. ath10k-firmware-qca9984 \
  250. ath10k-firmware-qca9984-ct
  251. DEPENDS:=\
  252. +ath10k-board-qca9984 \
  253. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  254. endef
  255. define Package/ath10k-firmware-qca4019-ct
  256. $(Package/ath10k-ct-firmware-default)
  257. TITLE:=ath10k CT 10.4 firmware for QCA4018/9
  258. SECTION:=firmware
  259. CATEGORY:=Firmware
  260. PROVIDES:=ath10k-firmware-qca4019
  261. CONFLICTS:=ath10k-firmware-qca4019
  262. endef
  263. define Package/ath10k-firmware-qca4019-ct-full-htt
  264. $(Package/ath10k-ct-firmware-default)
  265. TITLE:=ath10k CT 10.4 full-htt-mgt for QCA4018/9
  266. SECTION:=firmware
  267. CATEGORY:=Firmware
  268. PROVIDES:=\
  269. ath10k-firmware-qca4019 \
  270. ath10k-firmware-qca4019-ct
  271. CONFLICTS:=\
  272. ath10k-firmware-qca4019 \
  273. ath10k-firmware-qca4019-ct \
  274. ath10k-firmware-qca4019-ct-htt
  275. DEPENDS:=\
  276. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  277. endef
  278. define Package/ath10k-firmware-qca4019-ct-htt
  279. $(Package/ath10k-firmware-default)
  280. TITLE:=ath10k CT 10.4 htt-mgt for QCA4018/9
  281. SECTION:=firmware
  282. CATEGORY:=Firmware
  283. PROVIDES:=\
  284. ath10k-firmware-qca4019 \
  285. ath10k-firmware-qca4019-ct
  286. CONFLICTS:=\
  287. ath10k-firmware-qca4019 \
  288. ath10k-firmware-qca4019-ct
  289. DEPENDS:=\
  290. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  291. endef
  292. define Package/ath10k-firmware-qca9888-ct
  293. $(Package/ath10k-ct-firmware-default)
  294. TITLE:=ath10k CT 10.4 fw for QCA9886/8 devices
  295. SECTION:=firmware
  296. CATEGORY:=Firmware
  297. PROVIDES:=ath10k-firmware-qca9888
  298. CONFLICTS:=ath10k-firmware-qca9888
  299. DEPENDS:=+ath10k-board-qca9888
  300. endef
  301. define Package/ath10k-firmware-qca9888-ct-full-htt
  302. $(Package/ath10k-ct-firmware-default)
  303. TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9886/8
  304. SECTION:=firmware
  305. CATEGORY:=Firmware
  306. PROVIDES:=\
  307. ath10k-firmware-qca9888 \
  308. ath10k-firmware-qca9888-ct
  309. CONFLICTS:=\
  310. ath10k-firmware-qca9888 \
  311. ath10k-firmware-qca9888-ct \
  312. ath10k-firmware-qca9888-ct-htt
  313. DEPENDS:=\
  314. +ath10k-board-qca9888 \
  315. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  316. endef
  317. define Package/ath10k-firmware-qca9888-ct-htt
  318. $(Package/ath10k-firmware-default)
  319. TITLE:=ath10k CT 10.4 htt-mgt fw for QCA9886/8
  320. SECTION:=firmware
  321. CATEGORY:=Firmware
  322. PROVIDES:=\
  323. ath10k-firmware-qca9888 \
  324. ath10k-firmware-qca9888-ct
  325. CONFLICTS:=\
  326. ath10k-firmware-qca9888 \
  327. ath10k-firmware-qca9888-ct
  328. DEPENDS:=\
  329. +ath10k-board-qca9888 \
  330. +!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
  331. endef
  332. define Package/ath10k-firmware-qca9887-ct/description
  333. Alternative ath10k firmware for QCA9887 from Candela Technologies.
  334. Enables IBSS and other features. See:
  335. http://www.candelatech.com/ath10k-10.1.php
  336. This firmware conflicts with the standard 9887 firmware, so select only
  337. one.
  338. endef
  339. define Package/ath10k-firmware-qca9887-ct-full-htt/description
  340. Alternative ath10k firmware for QCA9887 from Candela Technologies.
  341. Uses normal HTT TX data path for management frames, which improves
  342. stability in busy networks and fixes .11r authentication.
  343. Enables IBSS and other features. See:
  344. http://www.candelatech.com/ath10k-10.1.php
  345. This firmware selects and requires the ath10k-ct driver.
  346. endef
  347. define Package/ath10k-firmware-qca988x-ct/description
  348. Alternative ath10k firmware for QCA988X from Candela Technologies.
  349. Enables IBSS and other features. See:
  350. http://www.candelatech.com/ath10k-10.1.php
  351. This firmware will NOT be used unless the standard ath10k-firmware-qca988x
  352. is un-selected since the driver will try to load firmware-5.bin before
  353. firmware-2.bin
  354. endef
  355. define Package/ath10k-firmware-qca988x-ct-full-htt/description
  356. Alternative ath10k firmware for QCA988X from Candela Technologies.
  357. Uses normal HTT TX data path for management frames, which improves
  358. stability in busy networks and fixes .11r authentication.
  359. Enables IBSS and other features. See:
  360. http://www.candelatech.com/ath10k-10.1.php
  361. This firmware selects and requires the ath10k-ct driver.
  362. endef
  363. define Package/ath10k-firmware-qca99x0-ct/description
  364. Alternative ath10k firmware for QCA99x0 from Candela Technologies.
  365. Enables IBSS and other features. See:
  366. http://www.candelatech.com/ath10k-10.4.php
  367. This firmware conflicts with the standard 99x0 firmware, so select only
  368. one.
  369. endef
  370. define Package/ath10k-firmware-qca99x0-ct-full-htt/description
  371. Alternative ath10k firmware for QCA99x0 from Candela Technologies.
  372. Uses normal HTT TX data path for management frames, which improves
  373. stability in busy networks and may be required for .11r authentication.
  374. Enables IBSS and other features. See:
  375. http://www.candelatech.com/ath10k-10.4.php
  376. This firmware selects and requires the ath10k-ct driver.
  377. endef
  378. define Package/ath10k-firmware-qca99x0-ct-htt/description
  379. Alternative ath10k firmware for QCA99x0 from Candela Technologies.
  380. Uses normal HTT TX data path for management frames, which improves
  381. stability in busy networks and may be required for .11r authentication.
  382. This firmware lacks a lot of features that ath10k does not use, saving
  383. a lot of resources.
  384. Enables IBSS and other features. See:
  385. http://www.candelatech.com/ath10k-10.4.php
  386. This firmware selects and requires the ath10k-ct driver.
  387. endef
  388. define Package/ath10k-firmware-qca9984-ct/description
  389. Alternative ath10k firmware for QCA9984 from Candela Technologies.
  390. Enables IBSS and other features. See:
  391. http://www.candelatech.com/ath10k-10.4.php
  392. This firmware conflicts with the standard 9984 firmware, so select only
  393. one.
  394. endef
  395. define Package/ath10k-firmware-qca9984-ct-full-htt/description
  396. Alternative ath10k firmware for QCA9984 from Candela Technologies.
  397. Uses normal HTT TX data path for management frames, which improves
  398. stability in busy networks and may be required for .11r authentication.
  399. Enables IBSS and other features. See:
  400. http://www.candelatech.com/ath10k-10.4.php
  401. This firmware selects and requires the ath10k-ct driver.
  402. endef
  403. define Package/ath10k-firmware-qca9984-ct-htt/description
  404. Alternative ath10k firmware for QCA9984 from Candela Technologies.
  405. Uses normal HTT TX data path for management frames, which improves
  406. stability in busy networks and may be required for .11r authentication.
  407. This firmware lacks a lot of features that ath10k does not use, saving
  408. a lot of resources.
  409. Enables IBSS and other features. See:
  410. http://www.candelatech.com/ath10k-10.4.php
  411. This firmware selects and requires the ath10k-ct driver.
  412. endef
  413. define Package/ath10k-firmware-qca4019-ct/description
  414. Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
  415. Enables IBSS and other features. Works with standard or ath10k-ct driver.
  416. See: http://www.candelatech.com/ath10k-10.4.php
  417. endef
  418. define Package/ath10k-firmware-qca4019-ct-full-htt/description
  419. Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
  420. Uses normal HTT TX data path for management frames, which improves
  421. stability in busy networks and may be required for .11r authentication.
  422. Enables IBSS and other features.
  423. See: http://www.candelatech.com/ath10k-10.4.php
  424. This firmware selects and requires the ath10k-ct driver.
  425. endef
  426. define Package/ath10k-firmware-qca4019-ct-htt/description
  427. Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
  428. Uses normal HTT TX data path for management frames, which improves
  429. stability in busy networks and may be required for .11r authentication.
  430. This firmware lacks a lot of features that ath10k does not use, saving
  431. a lot of resources.
  432. Enables IBSS and other features.
  433. See: http://www.candelatech.com/ath10k-10.4.php
  434. This firmware selects and requires the ath10k-ct driver.
  435. endef
  436. define Package/ath10k-firmware-qca9888-ct/description
  437. Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
  438. Enables IBSS and other features. See:
  439. http://www.candelatech.com/ath10k-10.4.php
  440. This firmware conflicts with the standard 9886 and 9888 firmware, so select only
  441. one.
  442. endef
  443. define Package/ath10k-firmware-qca9888-ct-full-htt/description
  444. Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
  445. Uses normal HTT TX data path for management frames, which improves
  446. stability in busy networks and may be required for .11r authentication.
  447. Enables IBSS and other features. See:
  448. http://www.candelatech.com/ath10k-10.4.php
  449. This firmware selects and requires the ath10k-ct driver.
  450. endef
  451. define Package/ath10k-firmware-qca9888-ct-htt/description
  452. Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
  453. Uses normal HTT TX data path for management frames, which improves
  454. stability in busy networks and may be required for .11r authentication.
  455. This firmware lacks a lot of features that ath10k does not use, saving
  456. a lot of resources.
  457. Enables IBSS and other features. See:
  458. http://www.candelatech.com/ath10k-10.4.php
  459. This firmware selects and requires the ath10k-ct driver.
  460. endef
  461. define Build/Compile
  462. endef
  463. define Package/ath10k-firmware-qca9887-ct/install
  464. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
  465. $(INSTALL_DATA) \
  466. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9887) \
  467. $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-2.bin
  468. endef
  469. define Package/ath10k-firmware-qca9887-ct-full-htt/install
  470. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
  471. $(INSTALL_DATA) \
  472. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9887) \
  473. $(1)/lib/firmware/ath10k/QCA9887/hw1.0/ct-firmware-2.bin
  474. endef
  475. define Package/ath10k-firmware-qca988x-ct/install
  476. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  477. $(INSTALL_DATA) \
  478. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA988X) \
  479. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
  480. endef
  481. define Package/ath10k-firmware-qca988x-ct-full-htt/install
  482. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
  483. $(INSTALL_DATA) \
  484. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA988X) \
  485. $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ct-firmware-2.bin
  486. endef
  487. define Package/ath10k-firmware-qca99x0-ct/install
  488. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
  489. $(INSTALL_DATA) \
  490. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA99X0) \
  491. $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
  492. endef
  493. define Package/ath10k-firmware-qca99x0-ct-full-htt/install
  494. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
  495. $(INSTALL_DATA) \
  496. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA99X0) \
  497. $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
  498. endef
  499. define Package/ath10k-firmware-qca99x0-ct-htt/install
  500. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
  501. $(INSTALL_DATA) \
  502. $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA99X0) \
  503. $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
  504. endef
  505. define Package/ath10k-firmware-qca9984-ct/install
  506. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
  507. $(INSTALL_DATA) \
  508. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9984) \
  509. $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
  510. endef
  511. define Package/ath10k-firmware-qca9984-ct-full-htt/install
  512. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
  513. $(INSTALL_DATA) \
  514. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9984) \
  515. $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
  516. endef
  517. define Package/ath10k-firmware-qca9984-ct-htt/install
  518. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
  519. $(INSTALL_DATA) \
  520. $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9984) \
  521. $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
  522. endef
  523. define Package/ath10k-firmware-qca4019-ct/install
  524. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
  525. $(INSTALL_DATA) \
  526. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA4019) \
  527. $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
  528. endef
  529. define Package/ath10k-firmware-qca4019-ct-full-htt/install
  530. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
  531. $(INSTALL_DATA) \
  532. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA4019) \
  533. $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
  534. endef
  535. define Package/ath10k-firmware-qca4019-ct-htt/install
  536. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
  537. $(INSTALL_DATA) \
  538. $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA4019) \
  539. $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
  540. endef
  541. define Package/ath10k-firmware-qca9888-ct/install
  542. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
  543. ln -s \
  544. ../../cal-pci-0000:01:00.0.bin \
  545. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
  546. $(INSTALL_DATA) \
  547. $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9888) \
  548. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
  549. endef
  550. define Package/ath10k-firmware-qca9888-ct-full-htt/install
  551. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
  552. ln -s \
  553. ../../cal-pci-0000:01:00.0.bin \
  554. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
  555. $(INSTALL_DATA) \
  556. $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9888) \
  557. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
  558. endef
  559. define Package/ath10k-firmware-qca9888-ct-htt/install
  560. $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
  561. ln -s \
  562. ../../cal-pci-0000:01:00.0.bin \
  563. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
  564. $(INSTALL_DATA) \
  565. $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9888) \
  566. $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
  567. endef
  568. $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct))
  569. $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct-full-htt))
  570. $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
  571. $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct-full-htt))
  572. $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
  573. $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-full-htt))
  574. $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-htt))
  575. $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))
  576. $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-full-htt))
  577. $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-htt))
  578. $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct))
  579. $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-full-htt))
  580. $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-htt))
  581. $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct))
  582. $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-full-htt))
  583. $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-htt))