1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=ath10k-ct-firmware
4 PKG_SOURCE_DATE
:=2018-05-12
7 PKG_MAINTAINER
:=Ben Greear
<greearb@candelatech.com
>
9 include $(INCLUDE_DIR
)/package.mk
11 define Package
/ath10k-ct-firmware-default
14 URL
:=$(PKG_SOURCE_URL
)
18 CT_FIRMWARE_FILE
= $(1)-$($(1)_FIRMWARE_FILE_CT
)
19 CT_FIRMWARE_FILE_HTT
= $(1)-$($(1)_FIRMWARE_FILE_CT_HTT
)
21 define Package
/ath10k-firmware-qca9887-ct
22 $(Package
/ath10k-ct-firmware-default
)
23 TITLE
:=ath10k-CT firmware for QCA9887 devices
26 define Download
/ct-firmware
27 URL
:=https
://www.candelatech.com
/downloads
/$(2)
28 FILE
:=$(call CT_FIRMWARE_FILE
,$(1))
29 URL_FILE
:=$($(1)_FIRMWARE_FILE_CT
)
32 define Download
/ct-firmware-htt
33 URL
:=https
://www.candelatech.com
/downloads
/$(2)
34 FILE
:=$(call CT_FIRMWARE_FILE_HTT
,$(1))
35 URL_FILE
:=$($(1)_FIRMWARE_FILE_CT_HTT
)
38 QCA988X_FIRMWARE_FILE_CT
:=firmware-2-ct-full-community-21.bin.lede
.001
39 define Download
/ath10k-firmware-qca988x-ct
40 $(call Download
/ct-firmware
,QCA988X
,)
41 HASH
:=a3d029c46a77be265e33bb57f827a59f01969f157825d66ecf42a9d327127578
43 $(eval
$(call Download
,ath10k-firmware-qca988x-ct
))
45 QCA988X_FIRMWARE_FILE_CT_HTT
:=firmware-2-ct-full-htt-mgt-community-21.bin.lede
.001
46 define Download
/ath10k-firmware-qca988x-ct-htt
47 $(call Download
/ct-firmware-htt
,QCA988X
,)
48 HASH
:=8666523a6271c4aa6409880d2efd52643258c21464d6bf5948507bcb72d3e350
50 $(eval
$(call Download
,ath10k-firmware-qca988x-ct-htt
))
52 QCA9887_FIRMWARE_FILE_CT
:=firmware-2-ct-full-community-21.bin.lede
.001
53 define Download
/ath10k-firmware-qca9887-ct
54 $(call Download
/ct-firmware
,QCA9887
,ath10k-9887
)
55 HASH
:=ab8ef9afae5117f1cf71bbf80abde225f9f104620ba04a9734da51268e139803
57 $(eval
$(call Download
,ath10k-firmware-qca9887-ct
))
59 QCA9887_FIRMWARE_FILE_CT_HTT
:=firmware-2-ct-full-htt-mgt-community-21.bin.lede
.001
60 define Download
/ath10k-firmware-qca9887-ct-htt
61 $(call Download
/ct-firmware-htt
,QCA9887
,ath10k-9887
)
62 HASH
:=bb16a90ec8e7f80539ad016ebf5e3542bfc95a0e1a58c9f1b91e408a130ac058
64 $(eval
$(call Download
,ath10k-firmware-qca9887-ct-htt
))
66 QCA99X0_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-11.bin-lede
.001
67 define Download
/ath10k-firmware-qca99x0-ct
68 $(call Download
/ct-firmware
,QCA99X0
,ath10k-10-4
)
69 HASH
:=f5c1caaf5a7fb8a07d0e292bab853311a1e826b5de7e76a06e4d801e33827a49
71 $(eval
$(call Download
,ath10k-firmware-qca99x0-ct
))
73 QCA99X0_FIRMWARE_FILE_CT_HTT
:=firmware-5-ct-full-htt-mgt-community-11.bin-lede
.001
74 define Download
/ath10k-firmware-qca99x0-ct-htt
75 $(call Download
/ct-firmware-htt
,QCA99X0
,ath10k-10-4
)
76 HASH
:=a78a457a76f28e2ef34a7a3b1beef06064f7512680e14beafe02625d94d11619
78 $(eval
$(call Download
,ath10k-firmware-qca99x0-ct-htt
))
80 QCA9984_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-11.bin-lede
.001
81 define Download
/ath10k-firmware-qca9984-ct
82 $(call Download
/ct-firmware
,QCA9984
,ath10k-9984-10-4
)
83 HASH
:=204dde43a107911cd48ac04f6450365722fba6121487e49d4ef36b8aaa83339b
85 $(eval
$(call Download
,ath10k-firmware-qca9984-ct
))
87 QCA9984_FIRMWARE_FILE_CT_HTT
:=firmware-5-ct-full-htt-mgt-community-11.bin-lede
.001
88 define Download
/ath10k-firmware-qca9984-ct-htt
89 $(call Download
/ct-firmware-htt
,QCA9984
,ath10k-9984-10-4
)
90 HASH
:=e60b6033e96a9b14f43aae360e6a35e1217f3e94a4578821ccdb3e2da8521fae
92 $(eval
$(call Download
,ath10k-firmware-qca9984-ct-htt
))
94 QCA4019_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-11.bin-lede
.001
95 define Download
/ath10k-firmware-qca4019-ct
96 $(call Download
/ct-firmware
,QCA4019
,ath10k-4019-10-4
)
97 HASH
:=3daa439104806b1796c90e65bcafb18164358f0bd9e4d444302f7caf1c220dad
99 $(eval
$(call Download
,ath10k-firmware-qca4019-ct
))
101 QCA4019_FIRMWARE_FILE_CT_HTT
:=firmware-5-ct-full-htt-mgt-community-11.bin-lede
.001
102 define Download
/ath10k-firmware-qca4019-ct-htt
103 $(call Download
/ct-firmware-htt
,QCA4019
,ath10k-4019-10-4
)
104 HASH
:=eaf64c2942dac4d4718c5f7178be0676aee86b0293443d7b414e3f88290e2d15
106 $(eval
$(call Download
,ath10k-firmware-qca4019-ct-htt
))
108 QCA9888_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-11.bin-lede
.001
109 define Download
/ath10k-firmware-qca9888-ct
110 $(call Download
/ct-firmware
,QCA9888
,ath10k-9888-10-4
)
111 HASH
:=8d4415a77745259bbac4fc821c85f4001e58e49d9797a2e23585c44a03505678
113 $(eval
$(call Download
,ath10k-firmware-qca9888-ct
))
115 QCA9888_FIRMWARE_FILE_CT_HTT
:=firmware-5-ct-full-htt-mgt-community-11.bin-lede
.001
116 define Download
/ath10k-firmware-qca9888-ct-htt
117 $(call Download
/ct-firmware-htt
,QCA9888
,ath10k-9888-10-4
)
118 HASH
:=2a1bf2c7b4122469c40d70c48f155a53bd5d30a2900c01fe5ff896abc67acc9c
120 $(eval
$(call Download
,ath10k-firmware-qca9888-ct-htt
))
122 define Package
/ath10k-firmware-qca988x-ct
123 $(Package
/ath10k-ct-firmware-default
)
124 TITLE
:=ath10k CT
10.1 firmware for QCA988x devices
127 PROVIDES
:=ath10k-firmware-qca988x
130 define Package
/ath10k-firmware-qca988x-ct-htt
131 $(Package
/ath10k-ct-firmware-default
)
132 TITLE
:=ath10k CT
10.1 htt-mgt fw for QCA988x
135 PROVIDES
:=ath10k-firmware-qca988x
136 DEPENDS
:=+kmod-ath10k-ct
139 define Package
/ath10k-firmware-qca9887-ct
140 $(Package
/ath10k-ct-firmware-default
)
141 TITLE
:=ath10k CT
10.1 firmware for QCA9887 devices
144 PROVIDES
:=ath10k-firmware-qca9887
146 define Package
/ath10k-firmware-qca9887-ct-htt
147 $(Package
/ath10k-ct-firmware-default
)
148 TITLE
:=ath10k CT
10.1 htt-mgt fw for QCA9887
151 PROVIDES
:=ath10k-firmware-qca9887
152 DEPENDS
:=+kmod-ath10k-ct
155 define Package
/ath10k-firmware-qca988x-ct
/description
156 Alternative ath10k firmware for QCA988X from Candela Technologies.
157 Enables IBSS and other features. See
:
158 http
://www.candelatech.com
/ath10k-10.1.php
159 This firmware will NOT be used unless the standard ath10k-firmware-qca988x
160 is un-selected since the driver will try to load firmware-5.bin before
164 define Package
/ath10k-firmware-qca988x-ct-htt
/description
165 Alternative ath10k firmware for QCA988X from Candela Technologies.
166 Uses normal HTT TX data path for management frames
, which improves
167 stability in busy networks and fixes
.11r authentication.
168 Enables IBSS and other features. See
:
169 http
://www.candelatech.com
/ath10k-10.1.php
170 This firmware selects and requires the ath10k-ct driver.
173 define Package
/ath10k-firmware-qca9887-ct
/description
174 Alternative ath10k firmware for QCA9887 from Candela Technologies.
175 Enables IBSS and other features. See
:
176 http
://www.candelatech.com
/ath10k-10.1.php
177 This firmware conflicts with the standard
9887 firmware
, so select only
181 define Package
/ath10k-firmware-qca9887-ct-htt
/description
182 Alternative ath10k firmware for QCA9887 from Candela Technologies.
183 Uses normal HTT TX data path for management frames
, which improves
184 stability in busy networks and fixes
.11r authentication.
185 Enables IBSS and other features. See
:
186 http
://www.candelatech.com
/ath10k-10.1.php
187 This firmware selects and requires the ath10k-ct driver.
190 define Package
/ath10k-firmware-qca99x0-ct
/description
191 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
192 Enables IBSS and other features. See
:
193 http
://www.candelatech.com
/ath10k-10.4.php
194 This firmware conflicts with the standard
99x0 firmware
, so select only
198 define Package
/ath10k-firmware-qca99x0-ct-htt
/description
199 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
200 Uses normal HTT TX data path for management frames
, which improves
201 stability in busy networks and may be required for
.11r authentication.
202 Enables IBSS and other features. See
:
203 http
://www.candelatech.com
/ath10k-10.4.php
204 This firmware selects and requires the ath10k-ct driver.
207 define Package
/ath10k-firmware-qca9984-ct
/description
208 Alternative ath10k firmware for QCA9984 from Candela Technologies.
209 Enables IBSS and other features. See
:
210 http
://www.candelatech.com
/ath10k-10.4.php
211 This firmware conflicts with the standard
9984 firmware
, so select only
215 define Package
/ath10k-firmware-qca9984-ct-htt
/description
216 Alternative ath10k firmware for QCA9984 from Candela Technologies.
217 Uses normal HTT TX data path for management frames
, which improves
218 stability in busy networks and may be required for
.11r authentication.
219 Enables IBSS and other features. See
:
220 http
://www.candelatech.com
/ath10k-10.4.php
221 This firmware selects and requires the ath10k-ct driver.
224 define Package
/ath10k-firmware-qca4019-ct
/description
225 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
226 Enables IBSS and other features. Works with standard or ath10k-ct driver.
227 See
: http
://www.candelatech.com
/ath10k-10.4.php
230 define Package
/ath10k-firmware-qca4019-ct-htt
/description
231 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
232 Uses normal HTT TX data path for management frames
, which improves
233 stability in busy networks and may be required for
.11r authentication.
234 Enables IBSS and other features.
235 See
: http
://www.candelatech.com
/ath10k-10.4.php
236 This firmware selects and requires the ath10k-ct driver.
239 define Package
/ath10k-firmware-qca9888-ct
/description
240 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
241 Enables IBSS and other features. See
:
242 http
://www.candelatech.com
/ath10k-10.4.php
243 This firmware conflicts with the standard
9886 and
9888 firmware
, so select only
247 define Package
/ath10k-firmware-qca9888-ct-htt
/description
248 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
249 Uses normal HTT TX data path for management frames
, which improves
250 stability in busy networks and may be required for
.11r authentication.
251 Enables IBSS and other features. See
:
252 http
://www.candelatech.com
/ath10k-10.4.php
253 This firmware selects and requires the ath10k-ct driver.
256 define Package
/ath10k-firmware-qca99x0-ct
257 $(Package
/ath10k-ct-firmware-default
)
258 TITLE
:=ath10k CT
10.4 firmware for QCA99x0 devices
261 PROVIDES
:=ath10k-firmware-qca99x0
264 define Package
/ath10k-firmware-qca99x0-ct-htt
265 $(Package
/ath10k-ct-firmware-default
)
266 TITLE
:=ath10k CT
10.4 htt-mgt fw for QCA99x0
269 PROVIDES
:=ath10k-firmware-qca99x0
270 DEPENDS
:=+kmod-ath10k-ct
273 define Package
/ath10k-firmware-qca9984-ct
274 $(Package
/ath10k-ct-firmware-default
)
275 TITLE
:=ath10k CT
10.4 firmware for QCA9984 devices
278 PROVIDES
:=ath10k-firmware-qca9984
281 define Package
/ath10k-firmware-qca9984-ct-htt
282 $(Package
/ath10k-ct-firmware-default
)
283 TITLE
:=ath10k CT
10.4 htt-mgt fw for QCA9984
286 PROVIDES
:=ath10k-firmware-qca9984
287 DEPENDS
:=+kmod-ath10k-ct
290 define Package
/ath10k-firmware-qca4019-ct
291 $(Package
/ath10k-ct-firmware-default
)
292 TITLE
:=ath10k CT
10.4 firmware for QCA4018
/9
295 PROVIDES
:=ath10k-firmware-qca4019
298 define Package
/ath10k-firmware-qca4019-ct-htt
299 $(Package
/ath10k-ct-firmware-default
)
300 TITLE
:=ath10k CT
10.4 htt-mgt for QCA4018
/9
303 PROVIDES
:=ath10k-firmware-qca4019
304 DEPENDS
:=+kmod-ath10k-ct
307 define Package
/ath10k-firmware-qca9888-ct
308 $(Package
/ath10k-ct-firmware-default
)
309 TITLE
:=ath10k CT
10.4 fw for QCA9886
/8 devices
312 PROVIDES
:=ath10k-firmware-qca9888
315 define Package
/ath10k-firmware-qca9888-ct-htt
316 $(Package
/ath10k-ct-firmware-default
)
317 TITLE
:=ath10k CT
10.4 htt-mgt fw for QCA9886
/8
320 PROVIDES
:=ath10k-firmware-qca9888
321 DEPENDS
:=+kmod-ath10k-ct
328 define Package
/ath10k-firmware-qca9887-ct
/install
329 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
331 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9887
) \
332 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/firmware-2.bin
334 $(PKG_BUILD_DIR
)/QCA9887
/hw1.0
/board.bin \
335 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/board.bin
338 define Package
/ath10k-firmware-qca9887-ct-htt
/install
339 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
341 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA9887
) \
342 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/ct-firmware-2.bin
344 $(PKG_BUILD_DIR
)/QCA9887
/hw1.0
/board.bin \
345 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/board.bin
348 define Package
/ath10k-firmware-qca988x-ct
/install
349 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
351 $(PKG_BUILD_DIR
)/QCA988X
/hw2.0
/board.bin \
352 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/
354 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA988X
) \
355 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/firmware-2.bin
358 define Package
/ath10k-firmware-qca988x-ct-htt
/install
359 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
361 $(PKG_BUILD_DIR
)/QCA988X
/hw2.0
/board.bin \
362 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/
364 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA988X
) \
365 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/ct-firmware-2.bin
368 define Package
/ath10k-firmware-qca99x0-ct
/install
369 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
371 $(DL_DIR
)/$(QCA99X0_BOARD_FILE
) \
372 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board-2.bin
374 $(PKG_BUILD_DIR
)/QCA99X0
/hw2.0
/boardData_AR900B_CUS239_5G_v2_001.bin \
375 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board.bin
377 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA99X0
) \
378 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/firmware-5.bin
381 define Package
/ath10k-firmware-qca99x0-ct-htt
/install
382 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
384 $(DL_DIR
)/$(QCA99X0_BOARD_FILE
) \
385 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board-2.bin
387 $(PKG_BUILD_DIR
)/QCA99X0
/hw2.0
/boardData_AR900B_CUS239_5G_v2_001.bin \
388 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board.bin
390 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA99X0
) \
391 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/ct-firmware-5.bin
394 define Package
/ath10k-firmware-qca9984-ct
/install
395 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
397 $(PKG_BUILD_DIR
)/QCA9984
/hw1.0
/board-2.bin \
398 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/board-2.bin
400 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9984
) \
401 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/firmware-5.bin
404 define Package
/ath10k-firmware-qca9984-ct-htt
/install
405 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
407 $(PKG_BUILD_DIR
)/QCA9984
/hw1.0
/board-2.bin \
408 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/board-2.bin
410 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA9984
) \
411 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/ct-firmware-5.bin
414 define Package
/ath10k-firmware-qca4019-ct
/install
415 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
417 $(PKG_BUILD_DIR
)/QCA4019
/hw1.0
/board-2.bin \
418 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/
420 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA4019
) \
421 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/firmware-5.bin
424 define Package
/ath10k-firmware-qca4019-ct-htt
/install
425 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
427 $(PKG_BUILD_DIR
)/QCA4019
/hw1.0
/board-2.bin \
428 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/
430 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA4019
) \
431 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/ct-firmware-5.bin
434 define Package
/ath10k-firmware-qca9888-ct
/install
435 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
437 ..
/..
/cal-pci-0000
:01:00.0.bin \
438 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board.bin
440 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/board-2.bin \
441 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board-2.bin
443 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9888
) \
444 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/firmware-5.bin
447 define Package
/ath10k-firmware-qca9888-ct-htt
/install
448 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
450 ..
/..
/cal-pci-0000
:01:00.0.bin \
451 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board.bin
453 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/board-2.bin \
454 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board-2.bin
456 $(DL_DIR
)/$(call CT_FIRMWARE_FILE_HTT
,QCA9888
) \
457 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/ct-firmware-5.bin
460 $(eval
$(call BuildPackage
,ath10k-firmware-qca9887-ct
))
461 $(eval
$(call BuildPackage
,ath10k-firmware-qca9887-ct-htt
))
462 $(eval
$(call BuildPackage
,ath10k-firmware-qca988x-ct
))
463 $(eval
$(call BuildPackage
,ath10k-firmware-qca988x-ct-htt
))
464 $(eval
$(call BuildPackage
,ath10k-firmware-qca99x0-ct
))
465 $(eval
$(call BuildPackage
,ath10k-firmware-qca99x0-ct-htt
))
466 $(eval
$(call BuildPackage
,ath10k-firmware-qca9984-ct
))
467 $(eval
$(call BuildPackage
,ath10k-firmware-qca9984-ct-htt
))
468 $(eval
$(call BuildPackage
,ath10k-firmware-qca4019-ct
))
469 $(eval
$(call BuildPackage
,ath10k-firmware-qca4019-ct-htt
))
470 $(eval
$(call BuildPackage
,ath10k-firmware-qca9888-ct
))
471 $(eval
$(call BuildPackage
,ath10k-firmware-qca9888-ct-htt
))