OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 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
3 office 11 PKG_SOURCE_DATE:=2018-04-19
12 PKG_SOURCE_VERSION:=71e50312b54cc972657a7b08c470088447cb9676
13 PKG_MIRROR_HASH:=726e7bce9917532e3b39ced6a17ca2d4c39fdf4c9bec4a3f8f2ea3e5defa6a54
1 office 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  
3 office 67 QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-21.bin.lede.001
1 office 68 define Download/ath10k-firmware-qca988x-ct
69 $(call Download/ct-firmware,QCA988X,)
3 office 70 HASH:=a3d029c46a77be265e33bb57f827a59f01969f157825d66ecf42a9d327127578
1 office 71 endef
72 $(eval $(call Download,ath10k-firmware-qca988x-ct))
73  
3 office 74 QCA988X_FIRMWARE_FILE_CT_HTT:=firmware-2-ct-full-htt-mgt-community-21.bin.lede.001
1 office 75 define Download/ath10k-firmware-qca988x-ct-htt
76 $(call Download/ct-firmware-htt,QCA988X,)
3 office 77 HASH:=8666523a6271c4aa6409880d2efd52643258c21464d6bf5948507bcb72d3e350
1 office 78 endef
79 $(eval $(call Download,ath10k-firmware-qca988x-ct-htt))
80  
81  
3 office 82 QCA9887_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-21.bin.lede.001
1 office 83 define Download/ath10k-firmware-qca9887-ct
84 $(call Download/ct-firmware,QCA9887,ath10k-9887)
3 office 85 HASH:=ab8ef9afae5117f1cf71bbf80abde225f9f104620ba04a9734da51268e139803
1 office 86 endef
87 $(eval $(call Download,ath10k-firmware-qca9887-ct))
88  
3 office 89 QCA9887_FIRMWARE_FILE_CT_HTT:=firmware-2-ct-full-htt-mgt-community-21.bin.lede.001
1 office 90 define Download/ath10k-firmware-qca9887-ct-htt
91 $(call Download/ct-firmware-htt,QCA9887,ath10k-9887)
3 office 92 HASH:=bb16a90ec8e7f80539ad016ebf5e3542bfc95a0e1a58c9f1b91e408a130ac058
1 office 93 endef
94 $(eval $(call Download,ath10k-firmware-qca9887-ct-htt))
95  
96  
3 office 97 QCA99X0_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-11.bin-lede.001
1 office 98 define Download/ath10k-firmware-qca99x0-ct
3 office 99 $(call Download/ct-firmware,QCA99X0,ath10k-10-4)
100 HASH:=f5c1caaf5a7fb8a07d0e292bab853311a1e826b5de7e76a06e4d801e33827a49
1 office 101 endef
102 $(eval $(call Download,ath10k-firmware-qca99x0-ct))
103  
3 office 104 QCA99X0_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-full-htt-mgt-community-11.bin-lede.001
1 office 105 define Download/ath10k-firmware-qca99x0-ct-htt
3 office 106 $(call Download/ct-firmware-htt,QCA99X0,ath10k-10-4)
107 HASH:=a78a457a76f28e2ef34a7a3b1beef06064f7512680e14beafe02625d94d11619
1 office 108 endef
109 $(eval $(call Download,ath10k-firmware-qca99x0-ct-htt))
110  
111  
3 office 112 QCA9984_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-11.bin-lede.001
1 office 113 define Download/ath10k-firmware-qca9984-ct
3 office 114 $(call Download/ct-firmware,QCA9984,ath10k-9984-10-4)
115 HASH:=204dde43a107911cd48ac04f6450365722fba6121487e49d4ef36b8aaa83339b
1 office 116 endef
117 $(eval $(call Download,ath10k-firmware-qca9984-ct))
118  
3 office 119 QCA9984_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-full-htt-mgt-community-11.bin-lede.001
1 office 120 define Download/ath10k-firmware-qca9984-ct-htt
3 office 121 $(call Download/ct-firmware-htt,QCA9984,ath10k-9984-10-4)
122 HASH:=e60b6033e96a9b14f43aae360e6a35e1217f3e94a4578821ccdb3e2da8521fae
1 office 123 endef
124 $(eval $(call Download,ath10k-firmware-qca9984-ct-htt))
125  
126  
3 office 127 QCA4019_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-11.bin-lede.001
1 office 128 define Download/ath10k-firmware-qca4019-ct
3 office 129 $(call Download/ct-firmware,QCA4019,ath10k-4019-10-4)
130 HASH:=3daa439104806b1796c90e65bcafb18164358f0bd9e4d444302f7caf1c220dad
1 office 131 endef
132 $(eval $(call Download,ath10k-firmware-qca4019-ct))
133  
3 office 134 QCA4019_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-full-htt-mgt-community-11.bin-lede.001
1 office 135 define Download/ath10k-firmware-qca4019-ct-htt
3 office 136 $(call Download/ct-firmware-htt,QCA4019,ath10k-4019-10-4)
137 HASH:=eaf64c2942dac4d4718c5f7178be0676aee86b0293443d7b414e3f88290e2d15
1 office 138 endef
139 $(eval $(call Download,ath10k-firmware-qca4019-ct-htt))
140  
141  
3 office 142 QCA9888_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-11.bin-lede.001
1 office 143 define Download/ath10k-firmware-qca9888-ct
3 office 144 $(call Download/ct-firmware,QCA9888,ath10k-9888-10-4)
145 HASH:=8d4415a77745259bbac4fc821c85f4001e58e49d9797a2e23585c44a03505678
1 office 146 endef
147 $(eval $(call Download,ath10k-firmware-qca9888-ct))
148  
3 office 149 QCA9888_FIRMWARE_FILE_CT_HTT:=firmware-5-ct-full-htt-mgt-community-11.bin-lede.001
1 office 150 define Download/ath10k-firmware-qca9888-ct-htt
3 office 151 $(call Download/ct-firmware-htt,QCA9888,ath10k-9888-10-4)
152 HASH:=2a1bf2c7b4122469c40d70c48f155a53bd5d30a2900c01fe5ff896abc67acc9c
1 office 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) \
3 office 406 $(PKG_BUILD_DIR)/QCA4019/hw1.0/3.4/firmware-5.bin_10.4-3.4-00104 \
1 office 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) \
3 office 436 $(PKG_BUILD_DIR)/QCA988X/hw2.0/10.2.4-1.0/firmware-5.bin_10.2.4-1.0-00033 \
1 office 437 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
438 endef
439  
440 define Package/ath10k-firmware-qca6174/install
3 office 441 $(INSTALL_DIR) $(1)/lib/firmware/ath10k
442 $(CP) $(PKG_BUILD_DIR)/QCA6174 $(1)/lib/firmware/ath10k/
1 office 443 endef
444  
445 define Package/ath10k-firmware-qca99x0/install
446 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
447 $(INSTALL_DATA) \
448 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
449 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
450 $(INSTALL_DATA) \
451 $(PKG_BUILD_DIR)/QCA99X0/hw2.0/boardData_AR900B_CUS239_5G_v2_001.bin \
452 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
453 $(INSTALL_DATA) \
454 $(PKG_BUILD_DIR)/QCA99X0/hw2.0/firmware-5.bin_10.4.1.00030-1 \
455 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
456 endef
457  
458 define Package/ath10k-firmware-qca9984/install
459 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
460 $(INSTALL_DATA) \
461 $(PKG_BUILD_DIR)/QCA9984/hw1.0/board-2.bin \
462 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
463 $(INSTALL_DATA) \
464 $(PKG_BUILD_DIR)/QCA9984/hw1.0/3.5.3/firmware-5.bin_10.4-3.5.3-00053 \
465 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
466 endef
467  
468  
469 # CT related firmware
470  
471 define Package/ath10k-firmware-qca9887-ct/install
472 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
473 $(INSTALL_DATA) \
474 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9887) \
475 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-2.bin
476 $(INSTALL_DATA) \
477 $(PKG_BUILD_DIR)/QCA9887/hw1.0/board.bin \
478 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
479 endef
480 define Package/ath10k-firmware-qca9887-ct-htt/install
481 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
482 $(INSTALL_DATA) \
483 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9887) \
484 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/ct-firmware-2.bin
485 $(INSTALL_DATA) \
486 $(PKG_BUILD_DIR)/QCA9887/hw1.0/board.bin \
487 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
488 endef
489  
490 define Package/ath10k-firmware-qca988x-ct/install
491 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
492 $(INSTALL_DATA) \
493 $(PKG_BUILD_DIR)/QCA988X/hw2.0/board.bin \
494 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
495 $(INSTALL_DATA) \
496 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA988X) \
497 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
498 endef
499 define Package/ath10k-firmware-qca988x-ct-htt/install
500 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
501 $(INSTALL_DATA) \
502 $(PKG_BUILD_DIR)/QCA988X/hw2.0/board.bin \
503 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
504 $(INSTALL_DATA) \
505 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA988X) \
506 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ct-firmware-2.bin
507 endef
508  
509 define Package/ath10k-firmware-qca99x0-ct/install
510 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
511 $(INSTALL_DATA) \
512 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
513 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
514 $(INSTALL_DATA) \
515 $(PKG_BUILD_DIR)/QCA99X0/hw2.0/boardData_AR900B_CUS239_5G_v2_001.bin \
516 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
517 $(INSTALL_DATA) \
518 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA99X0) \
519 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
520 endef
521 define Package/ath10k-firmware-qca99x0-ct-htt/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_HTT,QCA99X0) \
531 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
532 endef
533  
534 define Package/ath10k-firmware-qca9984-ct/install
535 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
536 $(INSTALL_DATA) \
537 $(PKG_BUILD_DIR)/QCA9984/hw1.0/board-2.bin \
538 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
539 $(INSTALL_DATA) \
540 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9984) \
541 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
542 endef
543 define Package/ath10k-firmware-qca9984-ct-htt/install
544 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
545 $(INSTALL_DATA) \
546 $(PKG_BUILD_DIR)/QCA9984/hw1.0/board-2.bin \
547 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
548 $(INSTALL_DATA) \
549 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA9984) \
550 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
551 endef
552  
553 define Package/ath10k-firmware-qca4019-ct/install
554 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
555 $(INSTALL_DATA) \
556 $(PKG_BUILD_DIR)/QCA4019/hw1.0/board-2.bin \
557 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/
558 $(INSTALL_DATA) \
559 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA4019) \
560 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
561 endef
562 define Package/ath10k-firmware-qca4019-ct-htt/install
563 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
564 $(INSTALL_DATA) \
565 $(PKG_BUILD_DIR)/QCA4019/hw1.0/board-2.bin \
566 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/
567 $(INSTALL_DATA) \
568 $(DL_DIR)/$(call CT_FIRMWARE_FILE_HTT,QCA4019) \
569 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
570 endef
571  
572 define Package/ath10k-firmware-qca9888-ct/install
573 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
574 ln -s \
575 ../../cal-pci-0000:01:00.0.bin \
576 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
577 $(INSTALL_DATA) \
578 $(PKG_BUILD_DIR)/QCA9888/hw2.0/board-2.bin \
579 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
580 $(INSTALL_DATA) \
581 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9888) \
582 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
583 endef
584 define Package/ath10k-firmware-qca9888-ct-htt/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_HTT,QCA9888) \
594 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
595 endef
596  
3 office 597 $(eval $(call BuildPackage,ath10k-firmware-qca9887))
598 $(eval $(call BuildPackage,ath10k-firmware-qca9888))
599 $(eval $(call BuildPackage,ath10k-firmware-qca988x))
600 $(eval $(call BuildPackage,ath10k-firmware-qca99x0))
601 $(eval $(call BuildPackage,ath10k-firmware-qca6174))
602 $(eval $(call BuildPackage,ath10k-firmware-qca9984))
603 $(eval $(call BuildPackage,ath10k-firmware-qca4019))
1 office 604  
605 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct))
606 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct-htt))
607 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
608 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct-htt))
609 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
610 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-htt))
611 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))
612 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-htt))
613 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct))
614 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-htt))
615 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct))
616 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-htt))