ath10k-ct-firmware: update firmware images
[openwrt/staging/wigyori.git] / package / firmware / ath10k-ct-firmware / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ath10k-ct-firmware
4 PKG_VERSION:=2020-07-02
5 PKG_RELEASE:=1
6
7 include $(INCLUDE_DIR)/package.mk
8
9 ATH10K_FIRMWARE_REV:=d622d160e9f552ead68d9ae81b715422892dc2ef
10 ATH10K_FIRMWARE_URL:=@GITHUB/kvalo/ath10k-firmware/$(ATH10K_FIRMWARE_REV)
11
12 QCA9887_BOARD_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca9887-board.bin
13 define Download/qca9887-board
14 FILE:=$(QCA9887_BOARD_FILE)
15 URL:=$(ATH10K_FIRMWARE_URL)/QCA9887/hw1.0
16 URL_FILE:=board.bin
17 HASH:=cf4df099f6ee05c181f55ce17297a1d32c61d725eb96246fd315ad5587c42426
18 endef
19 $(eval $(call Download,qca9887-board))
20
21 QCA988X_BOARD_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca988x-board.bin
22 define Download/qca988x-board
23 FILE:=$(QCA988X_BOARD_FILE)
24 URL:=$(ATH10K_FIRMWARE_URL)/QCA988X/hw2.0
25 URL_FILE:=board.bin
26 HASH:=5b5b380333c2dd3b6ce67f30e2f7008f4020bf594970d3b464fd8d4a80fcd880
27 endef
28 $(eval $(call Download,qca988x-board))
29
30 QCA99X0_BOARD_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca99x0-board.bin
31 define Download/qca99x0-board
32 FILE:=$(QCA99X0_BOARD_FILE)
33 URL:=$(ATH10K_FIRMWARE_URL)/QCA99X0/hw2.0
34 URL_FILE:=boardData_AR900B_CUS239_5G_v2_001.bin
35 HASH:=3bf7561ee373b369025dcd366d276d038a97d3397ccae41ce841d98a58b30aff
36 endef
37 $(eval $(call Download,qca99x0-board))
38
39 QCA99X0_BOARD2_REV:=ddcec9efd245da9365c474f513a855a55f3ac7fe
40 QCA99X0_BOARD2_FILE:=ath10k-firmware-$(QCA99X0_BOARD2_REV)-qca99x0-board-2.bin
41 define Download/qca99x0-board2
42 FILE:=$(QCA99X0_BOARD2_FILE)
43 URL:=https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0
44 URL_FILE:=board-2.bin?id=$(QCA99X0_BOARD2_REV)
45 HASH:=03711ac21e60ef59d3815e235eb721c0c22851b5410299411085aa6f2af45401
46 endef
47 $(eval $(call Download,qca99x0-board2))
48
49 QCA9984_BOARD2_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca9984-board-2.bin
50 define Download/qca9984-board2
51 FILE:=$(QCA9984_BOARD2_FILE)
52 URL:=$(ATH10K_FIRMWARE_URL)/QCA9984/hw1.0
53 URL_FILE:=board-2.bin
54 HASH:=0d6d46cf0467185e3959ce3cb69e2415be6e48ab8a4bee3eb400edbe48cb9c25
55 endef
56 $(eval $(call Download,qca9984-board2))
57
58 QCA4019_BOARD2_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca4019-board-2.bin
59 define Download/qca4019-board2
60 FILE:=$(QCA4019_BOARD2_FILE)
61 URL:=$(ATH10K_FIRMWARE_URL)/QCA4019/hw1.0
62 URL_FILE:=board-2.bin
63 HASH:=94b66aa4ddbed5110a96364d3c7b4ebcb320e3ac4e8697660b277e76077bc338
64 endef
65 $(eval $(call Download,qca4019-board2))
66
67 QCA9888_BOARD2_FILE:=ath10k-firmware-$(ATH10K_FIRMWARE_REV)-qca9888-board-2.bin
68 define Download/qca9888-board2
69 FILE:=$(QCA9888_BOARD2_FILE)
70 URL:=$(ATH10K_FIRMWARE_URL)/QCA9888/hw2.0
71 URL_FILE:=board-2.bin
72 HASH:=5b871bb567f64525ca45adb88063211de472015d09e0f9aa3fa61ab71c8fdfd3
73 endef
74 $(eval $(call Download,qca9888-board2))
75
76 CT_FIRMWARE_FILE = $(1)-$($(1)_FIRMWARE_FILE_CT)
77 CT_FIRMWARE_FILE_FULL_HTT = $(1)-$($(1)_FIRMWARE_FILE_CT_FULL_HTT)
78 CT_FIRMWARE_FILE_HTT = $(1)-$($(1)_FIRMWARE_FILE_CT_HTT)
79
80 define Download/ct-firmware
81 URL:=https://www.candelatech.com/downloads/$(2)
82 FILE:=$(call CT_FIRMWARE_FILE,$(1))
83 URL_FILE:=$($(1)_FIRMWARE_FILE_CT)
84 endef
85
86 define Download/ct-firmware-full-htt
87 URL:=https://www.candelatech.com/downloads/$(2)
88 FILE:=$(call CT_FIRMWARE_FILE_FULL_HTT,$(1))
89 URL_FILE:=$($(1)_FIRMWARE_FILE_CT_FULL_HTT)
90 endef
91
92 define Download/ct-firmware-htt
93 URL:=https://www.candelatech.com/downloads/$(2)
94 FILE:=$(call CT_FIRMWARE_FILE_HTT,$(1))
95 URL_FILE:=$($(1)_FIRMWARE_FILE_CT_HTT)
96 endef
97
98 QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.019
99 define Download/ath10k-firmware-qca988x-ct
100 $(call Download/ct-firmware,QCA988X,)
101 HASH:=8b4c99253aa309d35f2e060c190091b8db1b84dbda06a6a15c83ac0f9a938126
102 endef
103 $(eval $(call Download,ath10k-firmware-qca988x-ct))
104
105 QCA988X_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.019
106 define Download/ath10k-firmware-qca988x-ct-full-htt
107 $(call Download/ct-firmware-full-htt,QCA988X,)
108 HASH:=a7168916d6aa5e4d7858f8b620c0c980c76d03f390929db6f4077685ce2051e7
109 endef
110 $(eval $(call Download,ath10k-firmware-qca988x-ct-full-htt))
111
112
113 QCA9887_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.019
114 define Download/ath10k-firmware-qca9887-ct
115 $(call Download/ct-firmware,QCA9887,ath10k-9887)
116 HASH:=459692deb186a63ab8eeddb7ad5d54779266e68ca686e7c46062554db6dca12b
117 endef
118 $(eval $(call Download,ath10k-firmware-qca9887-ct))
119
120 QCA9887_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.019
121 define Download/ath10k-firmware-qca9887-ct-full-htt
122 $(call Download/ct-firmware-full-htt,QCA9887,ath10k-9887)
123 HASH:=fd126a457d0927d0c8ea10d66ef5b67d5e1e0741f8692bb3016bb602d0af3098
124 endef
125 $(eval $(call Download,ath10k-firmware-qca9887-ct-full-htt))
126
127
128 QCA99X0_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.019
129 define Download/ath10k-firmware-qca99x0-ct
130 $(call Download/ct-firmware,QCA99X0,ath10k-10-4b)
131 HASH:=7dc934f934bc4973c9273a4f22cfead8e26ec6f579647af31b718a860eca0a4b
132 endef
133 $(eval $(call Download,ath10k-firmware-qca99x0-ct))
134
135 QCA99X0_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.019
136 define Download/ath10k-firmware-qca99x0-ct-full-htt
137 $(call Download/ct-firmware-full-htt,QCA99X0,ath10k-10-4b)
138 HASH:=71a27b245a382fe009938d2826d5c97a90dceb10ddf638325268df91837ea302
139 endef
140 $(eval $(call Download,ath10k-firmware-qca99x0-ct-full-htt))
141
142 QCA99X0_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.019
143 define Download/ath10k-firmware-qca99x0-ct-htt
144 $(call Download/ct-firmware-htt,QCA99X0,ath10k-10-4b)
145 HASH:=9ed4fe41e5b0f30172f71ae0fe382dc0aab8aa4f8a898417af4f7ee936575ef6
146 endef
147 $(eval $(call Download,ath10k-firmware-qca99x0-ct-htt))
148
149
150 QCA9984_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.019
151 define Download/ath10k-firmware-qca9984-ct
152 $(call Download/ct-firmware,QCA9984,ath10k-9984-10-4b)
153 HASH:=32d13f432691fe759ded7d027052e925233adb436cd8f729f85ec3d19ccd1dfd
154 endef
155 $(eval $(call Download,ath10k-firmware-qca9984-ct))
156
157 QCA9984_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.019
158 define Download/ath10k-firmware-qca9984-ct-full-htt
159 $(call Download/ct-firmware-full-htt,QCA9984,ath10k-9984-10-4b)
160 HASH:=e8ab69777bd00b5fc6b1b7acccb55b903553a99932a5b0351602b5f690106588
161 endef
162 $(eval $(call Download,ath10k-firmware-qca9984-ct-full-htt))
163
164 QCA9984_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.019
165 define Download/ath10k-firmware-qca9984-ct-htt
166 $(call Download/ct-firmware-htt,QCA9984,ath10k-9984-10-4b)
167 HASH:=74449b303b626e0713b3fd4f2d6103d65859403b2dd7bdd8882aa772b69b59c7
168 endef
169 $(eval $(call Download,ath10k-firmware-qca9984-ct-htt))
170
171
172 QCA4019_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.019
173 define Download/ath10k-firmware-qca4019-ct
174 $(call Download/ct-firmware,QCA4019,ath10k-4019-10-4b)
175 HASH:=4b89763087c7ed9b56046c4e621b7f045e452436d8d9b430a5d171179e313592
176 endef
177 $(eval $(call Download,ath10k-firmware-qca4019-ct))
178
179 QCA4019_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.019
180 define Download/ath10k-firmware-qca4019-ct-full-htt
181 $(call Download/ct-firmware-full-htt,QCA4019,ath10k-4019-10-4b)
182 HASH:=fba591e5777c53b82542ba16cae69d9bb4684837f2fa4cee1b9b26f648096748
183 endef
184 $(eval $(call Download,ath10k-firmware-qca4019-ct-full-htt))
185
186 QCA4019_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.019
187 define Download/ath10k-firmware-qca4019-ct-htt
188 $(call Download/ct-firmware-htt,QCA4019,ath10k-4019-10-4b)
189 HASH:=0d534c3c424184b8ec2773f15c8933bdab0d39b6f664d2578c6602b0eb7035d1
190 endef
191 $(eval $(call Download,ath10k-firmware-qca4019-ct-htt))
192
193
194 QCA9888_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.019
195 define Download/ath10k-firmware-qca9888-ct
196 $(call Download/ct-firmware,QCA9888,ath10k-9888-10-4b)
197 HASH:=048f4300725e6ebbf94a6bf4f3f4e4592c446fcdbe1d801aaac024b15e89e0c9
198 endef
199 $(eval $(call Download,ath10k-firmware-qca9888-ct))
200
201 QCA9888_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.019
202 define Download/ath10k-firmware-qca9888-ct-full-htt
203 $(call Download/ct-firmware-full-htt,QCA9888,ath10k-9888-10-4b)
204 HASH:=d2a7e9fea6bd854721b3fc03a3a00d379d303b2bce339377ee87a1c14a60312d
205 endef
206 $(eval $(call Download,ath10k-firmware-qca9888-ct-full-htt))
207
208 QCA9888_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-htt-mgt-community-12.bin-lede.019
209 define Download/ath10k-firmware-qca9888-ct-htt
210 $(call Download/ct-firmware-htt,QCA9888,ath10k-9888-10-4b)
211 HASH:=e52a6db33347c641ee791fd9a3a57a2503cdda1adc6b8d943e336431528b9d2a
212 endef
213 $(eval $(call Download,ath10k-firmware-qca9888-ct-htt))
214
215
216 define Package/ath10k-ct-firmware-default
217 SECTION:=firmware
218 CATEGORY:=Firmware
219 URL:=https://www.candelatech.com/ath10k.php
220 DEPENDS:=
221 endef
222
223 define Package/ath10k-firmware-qca988x-ct
224 $(Package/ath10k-ct-firmware-default)
225 TITLE:=ath10k CT 10.1 firmware for QCA988x devices
226 SECTION:=firmware
227 CATEGORY:=Firmware
228 PROVIDES:=ath10k-firmware-qca988x
229 endef
230 define Package/ath10k-firmware-qca988x-ct-full-htt
231 $(Package/ath10k-ct-firmware-default)
232 TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA988x
233 SECTION:=firmware
234 CATEGORY:=Firmware
235 PROVIDES:=ath10k-firmware-qca988x
236 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
237 endef
238
239 define Package/ath10k-firmware-qca9887-ct
240 $(Package/ath10k-ct-firmware-default)
241 TITLE:=ath10k CT 10.1 firmware for QCA9887 devices
242 SECTION:=firmware
243 CATEGORY:=Firmware
244 PROVIDES:=ath10k-firmware-qca9887
245 endef
246 define Package/ath10k-firmware-qca9887-ct-full-htt
247 $(Package/ath10k-ct-firmware-default)
248 TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA9887
249 SECTION:=firmware
250 CATEGORY:=Firmware
251 PROVIDES:=ath10k-firmware-qca9887
252 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
253 endef
254
255 define Package/ath10k-firmware-qca99x0-ct
256 $(Package/ath10k-ct-firmware-default)
257 TITLE:=ath10k CT 10.4 firmware for QCA99x0 devices
258 SECTION:=firmware
259 CATEGORY:=Firmware
260 PROVIDES:=ath10k-firmware-qca99x0
261 endef
262 define Package/ath10k-firmware-qca99x0-ct-full-htt
263 $(Package/ath10k-ct-firmware-default)
264 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA99x0
265 SECTION:=firmware
266 CATEGORY:=Firmware
267 PROVIDES:=ath10k-firmware-qca99x0
268 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
269 endef
270 define Package/ath10k-firmware-qca99x0-ct-htt
271 $(Package/ath10k-firmware-default)
272 TITLE:=ath10k CT 10.4 htt-mgt fw for QCA99x0
273 SECTION:=firmware
274 CATEGORY:=Firmware
275 PROVIDES:=ath10k-firmware-qca99x0
276 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
277 endef
278
279 define Package/ath10k-firmware-qca9984-ct
280 $(Package/ath10k-ct-firmware-default)
281 TITLE:=ath10k CT 10.4 firmware for QCA9984 devices
282 SECTION:=firmware
283 CATEGORY:=Firmware
284 PROVIDES:=ath10k-firmware-qca9984
285 endef
286 define Package/ath10k-firmware-qca9984-ct-full-htt
287 $(Package/ath10k-ct-firmware-default)
288 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9984
289 SECTION:=firmware
290 CATEGORY:=Firmware
291 PROVIDES:=ath10k-firmware-qca9984
292 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
293 endef
294 define Package/ath10k-firmware-qca9984-ct-htt
295 $(Package/ath10k-firmware-default)
296 TITLE:=ath10k CT 10.4 htt-mgt fw for QCA9984
297 SECTION:=firmware
298 CATEGORY:=Firmware
299 PROVIDES:=ath10k-firmware-qca9984
300 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
301 endef
302
303 define Package/ath10k-firmware-qca4019-ct
304 $(Package/ath10k-ct-firmware-default)
305 TITLE:=ath10k CT 10.4 firmware for QCA4018/9
306 SECTION:=firmware
307 CATEGORY:=Firmware
308 PROVIDES:=ath10k-firmware-qca4019
309 endef
310 define Package/ath10k-firmware-qca4019-ct-full-htt
311 $(Package/ath10k-ct-firmware-default)
312 TITLE:=ath10k CT 10.4 full-htt-mgt for QCA4018/9
313 SECTION:=firmware
314 CATEGORY:=Firmware
315 PROVIDES:=ath10k-firmware-qca4019
316 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
317 endef
318 define Package/ath10k-firmware-qca4019-ct-htt
319 $(Package/ath10k-firmware-default)
320 TITLE:=ath10k CT 10.4 htt-mgt for QCA4018/9
321 SECTION:=firmware
322 CATEGORY:=Firmware
323 PROVIDES:=ath10k-firmware-qca4019
324 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
325 endef
326
327 define Package/ath10k-firmware-qca9888-ct
328 $(Package/ath10k-ct-firmware-default)
329 TITLE:=ath10k CT 10.4 fw for QCA9886/8 devices
330 SECTION:=firmware
331 CATEGORY:=Firmware
332 PROVIDES:=ath10k-firmware-qca9888
333 endef
334 define Package/ath10k-firmware-qca9888-ct-full-htt
335 $(Package/ath10k-ct-firmware-default)
336 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9886/8
337 SECTION:=firmware
338 CATEGORY:=Firmware
339 PROVIDES:=ath10k-firmware-qca9888
340 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
341 endef
342 define Package/ath10k-firmware-qca9888-ct-htt
343 $(Package/ath10k-firmware-default)
344 TITLE:=ath10k CT 10.4 htt-mgt fw for QCA9886/8
345 SECTION:=firmware
346 CATEGORY:=Firmware
347 PROVIDES:=ath10k-firmware-qca9888
348 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
349 endef
350
351
352 define Package/ath10k-firmware-qca9887-ct/description
353 Alternative ath10k firmware for QCA9887 from Candela Technologies.
354 Enables IBSS and other features. See:
355 http://www.candelatech.com/ath10k-10.1.php
356 This firmware conflicts with the standard 9887 firmware, so select only
357 one.
358 endef
359 define Package/ath10k-firmware-qca9887-ct-full-htt/description
360 Alternative ath10k firmware for QCA9887 from Candela Technologies.
361 Uses normal HTT TX data path for management frames, which improves
362 stability in busy networks and fixes .11r authentication.
363 Enables IBSS and other features. See:
364 http://www.candelatech.com/ath10k-10.1.php
365 This firmware selects and requires the ath10k-ct driver.
366 endef
367
368 define Package/ath10k-firmware-qca988x-ct/description
369 Alternative ath10k firmware for QCA988X from Candela Technologies.
370 Enables IBSS and other features. See:
371 http://www.candelatech.com/ath10k-10.1.php
372 This firmware will NOT be used unless the standard ath10k-firmware-qca988x
373 is un-selected since the driver will try to load firmware-5.bin before
374 firmware-2.bin
375 endef
376 define Package/ath10k-firmware-qca988x-ct-full-htt/description
377 Alternative ath10k firmware for QCA988X from Candela Technologies.
378 Uses normal HTT TX data path for management frames, which improves
379 stability in busy networks and fixes .11r authentication.
380 Enables IBSS and other features. See:
381 http://www.candelatech.com/ath10k-10.1.php
382 This firmware selects and requires the ath10k-ct driver.
383 endef
384
385 define Package/ath10k-firmware-qca99x0-ct/description
386 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
387 Enables IBSS and other features. See:
388 http://www.candelatech.com/ath10k-10.4.php
389 This firmware conflicts with the standard 99x0 firmware, so select only
390 one.
391 endef
392 define Package/ath10k-firmware-qca99x0-ct-full-htt/description
393 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
394 Uses normal HTT TX data path for management frames, which improves
395 stability in busy networks and may be required for .11r authentication.
396 Enables IBSS and other features. See:
397 http://www.candelatech.com/ath10k-10.4.php
398 This firmware selects and requires the ath10k-ct driver.
399 endef
400 define Package/ath10k-firmware-qca99x0-ct-htt/description
401 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
402 Uses normal HTT TX data path for management frames, which improves
403 stability in busy networks and may be required for .11r authentication.
404 This firmware lacks a lot of features that ath10k does not use, saving
405 a lot of resources.
406 Enables IBSS and other features. See:
407 http://www.candelatech.com/ath10k-10.4.php
408 This firmware selects and requires the ath10k-ct driver.
409 endef
410
411 define Package/ath10k-firmware-qca9984-ct/description
412 Alternative ath10k firmware for QCA9984 from Candela Technologies.
413 Enables IBSS and other features. See:
414 http://www.candelatech.com/ath10k-10.4.php
415 This firmware conflicts with the standard 9984 firmware, so select only
416 one.
417 endef
418 define Package/ath10k-firmware-qca9984-ct-full-htt/description
419 Alternative ath10k firmware for QCA9984 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. See:
423 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-qca9984-ct-htt/description
427 Alternative ath10k firmware for QCA9984 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. See:
433 http://www.candelatech.com/ath10k-10.4.php
434 This firmware selects and requires the ath10k-ct driver.
435 endef
436
437 define Package/ath10k-firmware-qca4019-ct/description
438 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
439 Enables IBSS and other features. Works with standard or ath10k-ct driver.
440 See: http://www.candelatech.com/ath10k-10.4.php
441 endef
442 define Package/ath10k-firmware-qca4019-ct-full-htt/description
443 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
444 Uses normal HTT TX data path for management frames, which improves
445 stability in busy networks and may be required for .11r authentication.
446 Enables IBSS and other features.
447 See: http://www.candelatech.com/ath10k-10.4.php
448 This firmware selects and requires the ath10k-ct driver.
449 endef
450 define Package/ath10k-firmware-qca4019-ct-htt/description
451 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
452 Uses normal HTT TX data path for management frames, which improves
453 stability in busy networks and may be required for .11r authentication.
454 This firmware lacks a lot of features that ath10k does not use, saving
455 a lot of resources.
456 Enables IBSS and other features.
457 See: http://www.candelatech.com/ath10k-10.4.php
458 This firmware selects and requires the ath10k-ct driver.
459 endef
460
461 define Package/ath10k-firmware-qca9888-ct/description
462 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
463 Enables IBSS and other features. See:
464 http://www.candelatech.com/ath10k-10.4.php
465 This firmware conflicts with the standard 9886 and 9888 firmware, so select only
466 one.
467 endef
468 define Package/ath10k-firmware-qca9888-ct-full-htt/description
469 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
470 Uses normal HTT TX data path for management frames, which improves
471 stability in busy networks and may be required for .11r authentication.
472 Enables IBSS and other features. See:
473 http://www.candelatech.com/ath10k-10.4.php
474 This firmware selects and requires the ath10k-ct driver.
475 endef
476 define Package/ath10k-firmware-qca9888-ct-htt/description
477 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
478 Uses normal HTT TX data path for management frames, which improves
479 stability in busy networks and may be required for .11r authentication.
480 This firmware lacks a lot of features that ath10k does not use, saving
481 a lot of resources.
482 Enables IBSS and other features. See:
483 http://www.candelatech.com/ath10k-10.4.php
484 This firmware selects and requires the ath10k-ct driver.
485 endef
486
487
488 define Build/Compile
489
490 endef
491
492
493 define Package/ath10k-firmware-qca9887-ct/install
494 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
495 $(INSTALL_DATA) \
496 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9887) \
497 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-2.bin
498 $(INSTALL_DATA) \
499 $(DL_DIR)/$(QCA9887_BOARD_FILE) \
500 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
501 endef
502 define Package/ath10k-firmware-qca9887-ct-full-htt/install
503 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
504 $(INSTALL_DATA) \
505 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9887) \
506 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/ct-firmware-2.bin
507 $(INSTALL_DATA) \
508 $(DL_DIR)/$(QCA9887_BOARD_FILE) \
509 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
510 endef
511
512 define Package/ath10k-firmware-qca988x-ct/install
513 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
514 $(INSTALL_DATA) \
515 $(DL_DIR)/$(QCA988X_BOARD_FILE) \
516 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/board.bin
517 $(INSTALL_DATA) \
518 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA988X) \
519 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
520 endef
521 define Package/ath10k-firmware-qca988x-ct-full-htt/install
522 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
523 $(INSTALL_DATA) \
524 $(DL_DIR)/$(QCA988X_BOARD_FILE) \
525 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/board.bin
526 $(INSTALL_DATA) \
527 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA988X) \
528 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ct-firmware-2.bin
529 endef
530
531 define Package/ath10k-firmware-qca99x0-ct/install
532 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
533 $(INSTALL_DATA) \
534 $(DL_DIR)/$(QCA99X0_BOARD2_FILE) \
535 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
536 $(INSTALL_DATA) \
537 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
538 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
539 $(INSTALL_DATA) \
540 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA99X0) \
541 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
542 endef
543 define Package/ath10k-firmware-qca99x0-ct-full-htt/install
544 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
545 $(INSTALL_DATA) \
546 $(DL_DIR)/$(QCA99X0_BOARD2_FILE) \
547 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
548 $(INSTALL_DATA) \
549 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
550 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
551 $(INSTALL_DATA) \
552 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA99X0) \
553 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
554 endef
555 define Package/ath10k-firmware-qca99x0-ct-htt/install
556 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
557 $(INSTALL_DATA) \
558 $(DL_DIR)/$(QCA99X0_BOARD2_FILE) \
559 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
560 $(INSTALL_DATA) \
561 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
562 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
563 $(INSTALL_DATA) \
564 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA99X0) \
565 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
566 endef
567
568 define Package/ath10k-firmware-qca9984-ct/install
569 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
570 $(INSTALL_DATA) \
571 $(DL_DIR)/$(QCA9984_BOARD2_FILE) \
572 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
573 $(INSTALL_DATA) \
574 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9984) \
575 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
576 endef
577 define Package/ath10k-firmware-qca9984-ct-full-htt/install
578 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
579 $(INSTALL_DATA) \
580 $(DL_DIR)/$(QCA9984_BOARD2_FILE) \
581 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
582 $(INSTALL_DATA) \
583 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9984) \
584 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
585 endef
586 define Package/ath10k-firmware-qca9984-ct-htt/install
587 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
588 $(INSTALL_DATA) \
589 $(DL_DIR)/$(QCA9984_BOARD2_FILE) \
590 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
591 $(INSTALL_DATA) \
592 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9984) \
593 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
594 endef
595
596 define Package/ath10k-firmware-qca4019-ct/install
597 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
598 $(INSTALL_DATA) \
599 $(DL_DIR)/$(QCA4019_BOARD2_FILE) \
600 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
601 $(INSTALL_DATA) \
602 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA4019) \
603 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
604 endef
605 define Package/ath10k-firmware-qca4019-ct-full-htt/install
606 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
607 $(INSTALL_DATA) \
608 $(DL_DIR)/$(QCA4019_BOARD2_FILE) \
609 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
610 $(INSTALL_DATA) \
611 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA4019) \
612 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
613 endef
614 define Package/ath10k-firmware-qca4019-ct-htt/install
615 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
616 $(INSTALL_DATA) \
617 $(DL_DIR)/$(QCA4019_BOARD2_FILE) \
618 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
619 $(INSTALL_DATA) \
620 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA4019) \
621 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
622 endef
623
624 define Package/ath10k-firmware-qca9888-ct/install
625 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
626 ln -s \
627 ../../cal-pci-0000:01:00.0.bin \
628 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
629 $(INSTALL_DATA) \
630 $(DL_DIR)/$(QCA9888_BOARD2_FILE) \
631 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
632 $(INSTALL_DATA) \
633 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9888) \
634 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
635 endef
636 define Package/ath10k-firmware-qca9888-ct-full-htt/install
637 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
638 ln -s \
639 ../../cal-pci-0000:01:00.0.bin \
640 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
641 $(INSTALL_DATA) \
642 $(DL_DIR)/$(QCA9888_BOARD2_FILE) \
643 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
644 $(INSTALL_DATA) \
645 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9888) \
646 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
647 endef
648 define Package/ath10k-firmware-qca9888-ct-htt/install
649 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
650 ln -s \
651 ../../cal-pci-0000:01:00.0.bin \
652 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
653 $(INSTALL_DATA) \
654 $(DL_DIR)/$(QCA9888_BOARD2_FILE) \
655 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
656 $(INSTALL_DATA) \
657 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9888) \
658 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
659 endef
660
661
662 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct))
663 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct-full-htt))
664 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
665 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct-full-htt))
666 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
667 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-full-htt))
668 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-htt))
669 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))
670 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-full-htt))
671 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-htt))
672 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct))
673 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-full-htt))
674 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-htt))
675 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct))
676 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-full-htt))
677 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-htt))