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