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