ath10k-ct-firmware: rename ct-htt packages
[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-03-25
5 PKG_RELEASE:=2
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
79 define Download/ct-firmware
80 URL:=https://www.candelatech.com/downloads/$(2)
81 FILE:=$(call CT_FIRMWARE_FILE,$(1))
82 URL_FILE:=$($(1)_FIRMWARE_FILE_CT)
83 endef
84
85 define Download/ct-firmware-full-htt
86 URL:=https://www.candelatech.com/downloads/$(2)
87 FILE:=$(call CT_FIRMWARE_FILE_FULL_HTT,$(1))
88 URL_FILE:=$($(1)_FIRMWARE_FILE_CT_FULL_HTT)
89 endef
90
91 QCA988X_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.017
92 define Download/ath10k-firmware-qca988x-ct
93 $(call Download/ct-firmware,QCA988X,)
94 HASH:=2f0bf766e400a4c5726e77b128eb8c141ebaa778526fe2c7c5083f3b17659dbf
95 endef
96 $(eval $(call Download,ath10k-firmware-qca988x-ct))
97
98 QCA988X_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.017
99 define Download/ath10k-firmware-qca988x-ct-full-htt
100 $(call Download/ct-firmware-full-htt,QCA988X,)
101 HASH:=5e4285d5c6eee159a25ca14c6ce26022c32380bd7bafaedfc0c5de1510119007
102 endef
103 $(eval $(call Download,ath10k-firmware-qca988x-ct-full-htt))
104
105
106 QCA9887_FIRMWARE_FILE_CT:=firmware-2-ct-full-community-22.bin.lede.017
107 define Download/ath10k-firmware-qca9887-ct
108 $(call Download/ct-firmware,QCA9887,ath10k-9887)
109 HASH:=4fa30e0e1972ca3b06225a731df0f93a1b73ac67fea5bf54bb55dea3bbc0da6a
110 endef
111 $(eval $(call Download,ath10k-firmware-qca9887-ct))
112
113 QCA9887_FIRMWARE_FILE_CT_FULL_HTT:=firmware-2-ct-full-htt-mgt-community-22.bin.lede.017
114 define Download/ath10k-firmware-qca9887-ct-full-htt
115 $(call Download/ct-firmware-full-htt,QCA9887,ath10k-9887)
116 HASH:=dc681b6b1e45956e7c2e418ab05eee5c943d13e775209196d9bd931ff6493935
117 endef
118 $(eval $(call Download,ath10k-firmware-qca9887-ct-full-htt))
119
120
121 QCA99X0_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.017
122 define Download/ath10k-firmware-qca99x0-ct
123 $(call Download/ct-firmware,QCA99X0,ath10k-10-4b)
124 HASH:=289ea845d4bbae6f36b3af2a13a5eaa07097f52d10f7b7306cfc9e2dd394f889
125 endef
126 $(eval $(call Download,ath10k-firmware-qca99x0-ct))
127
128 QCA99X0_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.017
129 define Download/ath10k-firmware-qca99x0-ct-full-htt
130 $(call Download/ct-firmware-full-htt,QCA99X0,ath10k-10-4b)
131 HASH:=adedcd3d379a910bc3a5257d75f8970e11319f4cd9c1b34440d35821602a8b9c
132 endef
133 $(eval $(call Download,ath10k-firmware-qca99x0-ct-full-htt))
134
135
136 QCA9984_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.017
137 define Download/ath10k-firmware-qca9984-ct
138 $(call Download/ct-firmware,QCA9984,ath10k-9984-10-4b)
139 HASH:=8175be5b3946bddc042be018ff7713e67b41b59374ef4cdd183185b59274c91a
140 endef
141 $(eval $(call Download,ath10k-firmware-qca9984-ct))
142
143 QCA9984_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.017
144 define Download/ath10k-firmware-qca9984-ct-full-htt
145 $(call Download/ct-firmware-full-htt,QCA9984,ath10k-9984-10-4b)
146 HASH:=eb8b894cfe0d1aaa87f130bb7fd1815ef07b951c14df8a2ceaeb780df8f640e0
147 endef
148 $(eval $(call Download,ath10k-firmware-qca9984-ct-full-htt))
149
150
151 QCA4019_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.017
152 define Download/ath10k-firmware-qca4019-ct
153 $(call Download/ct-firmware,QCA4019,ath10k-4019-10-4b)
154 HASH:=29e9f662c4cd287213877abfbb90fbabb5e32dd3710d3ade82aa94a0921972ae
155 endef
156 $(eval $(call Download,ath10k-firmware-qca4019-ct))
157
158 QCA4019_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.017
159 define Download/ath10k-firmware-qca4019-ct-full-htt
160 $(call Download/ct-firmware-full-htt,QCA4019,ath10k-4019-10-4b)
161 HASH:=559c911f23856b1d3d864ce714d1bef7262bf6638e93e057ecf8d5dba48ca1e6
162 endef
163 $(eval $(call Download,ath10k-firmware-qca4019-ct-full-htt))
164
165
166 QCA9888_FIRMWARE_FILE_CT:=firmware-5-ct-full-community-12.bin-lede.017
167 define Download/ath10k-firmware-qca9888-ct
168 $(call Download/ct-firmware,QCA9888,ath10k-9888-10-4b)
169 HASH:=b295880a8b08ec2680d85daaf5f20232a0e73d9cc579bf3efd7ffae24ea340d7
170 endef
171 $(eval $(call Download,ath10k-firmware-qca9888-ct))
172
173 QCA9888_FIRMWARE_FILE_CT_FULL_HTT:=firmware-5-ct-full-htt-mgt-community-12.bin-lede.017
174 define Download/ath10k-firmware-qca9888-ct-full-htt
175 $(call Download/ct-firmware-full-htt,QCA9888,ath10k-9888-10-4b)
176 HASH:=26fe7c00df10e93373a0f9f105e85d02bb8b1cdd629183ce22a5147138336aec
177 endef
178 $(eval $(call Download,ath10k-firmware-qca9888-ct-full-htt))
179
180
181 define Package/ath10k-ct-firmware-default
182 SECTION:=firmware
183 CATEGORY:=Firmware
184 URL:=https://www.candelatech.com/ath10k.php
185 DEPENDS:=
186 endef
187
188 define Package/ath10k-firmware-qca988x-ct
189 $(Package/ath10k-ct-firmware-default)
190 TITLE:=ath10k CT 10.1 firmware for QCA988x devices
191 SECTION:=firmware
192 CATEGORY:=Firmware
193 PROVIDES:=ath10k-firmware-qca988x
194 endef
195 define Package/ath10k-firmware-qca988x-ct-full-htt
196 $(Package/ath10k-ct-firmware-default)
197 TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA988x
198 SECTION:=firmware
199 CATEGORY:=Firmware
200 PROVIDES:=ath10k-firmware-qca988x
201 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
202 endef
203
204 define Package/ath10k-firmware-qca9887-ct
205 $(Package/ath10k-ct-firmware-default)
206 TITLE:=ath10k CT 10.1 firmware for QCA9887 devices
207 SECTION:=firmware
208 CATEGORY:=Firmware
209 PROVIDES:=ath10k-firmware-qca9887
210 endef
211 define Package/ath10k-firmware-qca9887-ct-full-htt
212 $(Package/ath10k-ct-firmware-default)
213 TITLE:=ath10k CT 10.1 full-htt-mgt fw for QCA9887
214 SECTION:=firmware
215 CATEGORY:=Firmware
216 PROVIDES:=ath10k-firmware-qca9887
217 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
218 endef
219
220 define Package/ath10k-firmware-qca99x0-ct
221 $(Package/ath10k-ct-firmware-default)
222 TITLE:=ath10k CT 10.4 firmware for QCA99x0 devices
223 SECTION:=firmware
224 CATEGORY:=Firmware
225 PROVIDES:=ath10k-firmware-qca99x0
226 endef
227 define Package/ath10k-firmware-qca99x0-ct-full-htt
228 $(Package/ath10k-ct-firmware-default)
229 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA99x0
230 SECTION:=firmware
231 CATEGORY:=Firmware
232 PROVIDES:=ath10k-firmware-qca99x0
233 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
234 endef
235
236 define Package/ath10k-firmware-qca9984-ct
237 $(Package/ath10k-ct-firmware-default)
238 TITLE:=ath10k CT 10.4 firmware for QCA9984 devices
239 SECTION:=firmware
240 CATEGORY:=Firmware
241 PROVIDES:=ath10k-firmware-qca9984
242 endef
243 define Package/ath10k-firmware-qca9984-ct-full-htt
244 $(Package/ath10k-ct-firmware-default)
245 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9984
246 SECTION:=firmware
247 CATEGORY:=Firmware
248 PROVIDES:=ath10k-firmware-qca9984
249 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
250 endef
251
252 define Package/ath10k-firmware-qca4019-ct
253 $(Package/ath10k-ct-firmware-default)
254 TITLE:=ath10k CT 10.4 firmware for QCA4018/9
255 SECTION:=firmware
256 CATEGORY:=Firmware
257 PROVIDES:=ath10k-firmware-qca4019
258 endef
259 define Package/ath10k-firmware-qca4019-ct-full-htt
260 $(Package/ath10k-ct-firmware-default)
261 TITLE:=ath10k CT 10.4 full-htt-mgt for QCA4018/9
262 SECTION:=firmware
263 CATEGORY:=Firmware
264 PROVIDES:=ath10k-firmware-qca4019
265 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
266 endef
267
268 define Package/ath10k-firmware-qca9888-ct
269 $(Package/ath10k-ct-firmware-default)
270 TITLE:=ath10k CT 10.4 fw for QCA9886/8 devices
271 SECTION:=firmware
272 CATEGORY:=Firmware
273 PROVIDES:=ath10k-firmware-qca9888
274 endef
275 define Package/ath10k-firmware-qca9888-ct-full-htt
276 $(Package/ath10k-ct-firmware-default)
277 TITLE:=ath10k CT 10.4 full-htt-mgt fw for QCA9886/8
278 SECTION:=firmware
279 CATEGORY:=Firmware
280 PROVIDES:=ath10k-firmware-qca9888
281 DEPENDS:=+!PACKAGE_kmod-ath10k-ct-smallbuffers:kmod-ath10k-ct
282 endef
283
284
285 define Package/ath10k-firmware-qca9887-ct/description
286 Alternative ath10k firmware for QCA9887 from Candela Technologies.
287 Enables IBSS and other features. See:
288 http://www.candelatech.com/ath10k-10.1.php
289 This firmware conflicts with the standard 9887 firmware, so select only
290 one.
291 endef
292 define Package/ath10k-firmware-qca9887-ct-full-htt/description
293 Alternative ath10k firmware for QCA9887 from Candela Technologies.
294 Uses normal HTT TX data path for management frames, which improves
295 stability in busy networks and fixes .11r authentication.
296 Enables IBSS and other features. See:
297 http://www.candelatech.com/ath10k-10.1.php
298 This firmware selects and requires the ath10k-ct driver.
299 endef
300
301 define Package/ath10k-firmware-qca988x-ct/description
302 Alternative ath10k firmware for QCA988X from Candela Technologies.
303 Enables IBSS and other features. See:
304 http://www.candelatech.com/ath10k-10.1.php
305 This firmware will NOT be used unless the standard ath10k-firmware-qca988x
306 is un-selected since the driver will try to load firmware-5.bin before
307 firmware-2.bin
308 endef
309 define Package/ath10k-firmware-qca988x-ct-full-htt/description
310 Alternative ath10k firmware for QCA988X from Candela Technologies.
311 Uses normal HTT TX data path for management frames, which improves
312 stability in busy networks and fixes .11r authentication.
313 Enables IBSS and other features. See:
314 http://www.candelatech.com/ath10k-10.1.php
315 This firmware selects and requires the ath10k-ct driver.
316 endef
317
318 define Package/ath10k-firmware-qca99x0-ct/description
319 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
320 Enables IBSS and other features. See:
321 http://www.candelatech.com/ath10k-10.4.php
322 This firmware conflicts with the standard 99x0 firmware, so select only
323 one.
324 endef
325 define Package/ath10k-firmware-qca99x0-ct-full-htt/description
326 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
327 Uses normal HTT TX data path for management frames, which improves
328 stability in busy networks and may be required for .11r authentication.
329 Enables IBSS and other features. See:
330 http://www.candelatech.com/ath10k-10.4.php
331 This firmware selects and requires the ath10k-ct driver.
332 endef
333
334 define Package/ath10k-firmware-qca9984-ct/description
335 Alternative ath10k firmware for QCA9984 from Candela Technologies.
336 Enables IBSS and other features. See:
337 http://www.candelatech.com/ath10k-10.4.php
338 This firmware conflicts with the standard 9984 firmware, so select only
339 one.
340 endef
341 define Package/ath10k-firmware-qca9984-ct-full-htt/description
342 Alternative ath10k firmware for QCA9984 from Candela Technologies.
343 Uses normal HTT TX data path for management frames, which improves
344 stability in busy networks and may be required for .11r authentication.
345 Enables IBSS and other features. See:
346 http://www.candelatech.com/ath10k-10.4.php
347 This firmware selects and requires the ath10k-ct driver.
348 endef
349
350 define Package/ath10k-firmware-qca4019-ct/description
351 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
352 Enables IBSS and other features. Works with standard or ath10k-ct driver.
353 See: http://www.candelatech.com/ath10k-10.4.php
354 endef
355 define Package/ath10k-firmware-qca4019-ct-full-htt/description
356 Alternative ath10k firmware for IPQ4019 radio from Candela Technologies.
357 Uses normal HTT TX data path for management frames, which improves
358 stability in busy networks and may be required for .11r authentication.
359 Enables IBSS and other features.
360 See: http://www.candelatech.com/ath10k-10.4.php
361 This firmware selects and requires the ath10k-ct driver.
362 endef
363
364 define Package/ath10k-firmware-qca9888-ct/description
365 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
366 Enables IBSS and other features. See:
367 http://www.candelatech.com/ath10k-10.4.php
368 This firmware conflicts with the standard 9886 and 9888 firmware, so select only
369 one.
370 endef
371 define Package/ath10k-firmware-qca9888-ct-full-htt/description
372 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
373 Uses normal HTT TX data path for management frames, which improves
374 stability in busy networks and may be required for .11r authentication.
375 Enables IBSS and other features. See:
376 http://www.candelatech.com/ath10k-10.4.php
377 This firmware selects and requires the ath10k-ct driver.
378 endef
379
380
381 define Build/Compile
382
383 endef
384
385
386 define Package/ath10k-firmware-qca9887-ct/install
387 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
388 $(INSTALL_DATA) \
389 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9887) \
390 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-2.bin
391 $(INSTALL_DATA) \
392 $(DL_DIR)/$(QCA9887_BOARD_FILE) \
393 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
394 endef
395 define Package/ath10k-firmware-qca9887-ct-full-htt/install
396 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0
397 $(INSTALL_DATA) \
398 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9887) \
399 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/ct-firmware-2.bin
400 $(INSTALL_DATA) \
401 $(DL_DIR)/$(QCA9887_BOARD_FILE) \
402 $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin
403 endef
404
405 define Package/ath10k-firmware-qca988x-ct/install
406 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
407 $(INSTALL_DATA) \
408 $(DL_DIR)/$(QCA988X_BOARD_FILE) \
409 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/board.bin
410 $(INSTALL_DATA) \
411 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA988X) \
412 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
413 endef
414 define Package/ath10k-firmware-qca988x-ct-full-htt/install
415 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
416 $(INSTALL_DATA) \
417 $(DL_DIR)/$(QCA988X_BOARD_FILE) \
418 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/board.bin
419 $(INSTALL_DATA) \
420 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA988X) \
421 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ct-firmware-2.bin
422 endef
423
424 define Package/ath10k-firmware-qca99x0-ct/install
425 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
426 $(INSTALL_DATA) \
427 $(DL_DIR)/$(QCA99X0_BOARD2_FILE) \
428 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
429 $(INSTALL_DATA) \
430 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
431 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
432 $(INSTALL_DATA) \
433 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA99X0) \
434 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin
435 endef
436 define Package/ath10k-firmware-qca99x0-ct-full-htt/install
437 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0
438 $(INSTALL_DATA) \
439 $(DL_DIR)/$(QCA99X0_BOARD2_FILE) \
440 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin
441 $(INSTALL_DATA) \
442 $(DL_DIR)/$(QCA99X0_BOARD_FILE) \
443 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin
444 $(INSTALL_DATA) \
445 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA99X0) \
446 $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/ct-firmware-5.bin
447 endef
448
449 define Package/ath10k-firmware-qca9984-ct/install
450 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
451 $(INSTALL_DATA) \
452 $(DL_DIR)/$(QCA9984_BOARD2_FILE) \
453 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
454 $(INSTALL_DATA) \
455 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9984) \
456 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin
457 endef
458 define Package/ath10k-firmware-qca9984-ct-full-htt/install
459 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0
460 $(INSTALL_DATA) \
461 $(DL_DIR)/$(QCA9984_BOARD2_FILE) \
462 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin
463 $(INSTALL_DATA) \
464 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9984) \
465 $(1)/lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
466 endef
467
468 define Package/ath10k-firmware-qca4019-ct/install
469 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
470 $(INSTALL_DATA) \
471 $(DL_DIR)/$(QCA4019_BOARD2_FILE) \
472 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
473 $(INSTALL_DATA) \
474 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA4019) \
475 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin
476 endef
477 define Package/ath10k-firmware-qca4019-ct-full-htt/install
478 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0
479 $(INSTALL_DATA) \
480 $(DL_DIR)/$(QCA4019_BOARD2_FILE) \
481 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
482 $(INSTALL_DATA) \
483 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA4019) \
484 $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ct-firmware-5.bin
485 endef
486
487 define Package/ath10k-firmware-qca9888-ct/install
488 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
489 ln -s \
490 ../../cal-pci-0000:01:00.0.bin \
491 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
492 $(INSTALL_DATA) \
493 $(DL_DIR)/$(QCA9888_BOARD2_FILE) \
494 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
495 $(INSTALL_DATA) \
496 $(DL_DIR)/$(call CT_FIRMWARE_FILE,QCA9888) \
497 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin
498 endef
499 define Package/ath10k-firmware-qca9888-ct-full-htt/install
500 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0
501 ln -s \
502 ../../cal-pci-0000:01:00.0.bin \
503 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board.bin
504 $(INSTALL_DATA) \
505 $(DL_DIR)/$(QCA9888_BOARD2_FILE) \
506 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
507 $(INSTALL_DATA) \
508 $(DL_DIR)/$(call CT_FIRMWARE_FILE_FULL_HTT,QCA9888) \
509 $(1)/lib/firmware/ath10k/QCA9888/hw2.0/ct-firmware-5.bin
510 endef
511
512
513 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct))
514 $(eval $(call BuildPackage,ath10k-firmware-qca9887-ct-full-htt))
515 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct))
516 $(eval $(call BuildPackage,ath10k-firmware-qca988x-ct-full-htt))
517 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct))
518 $(eval $(call BuildPackage,ath10k-firmware-qca99x0-ct-full-htt))
519 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct))
520 $(eval $(call BuildPackage,ath10k-firmware-qca9984-ct-full-htt))
521 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct))
522 $(eval $(call BuildPackage,ath10k-firmware-qca4019-ct-full-htt))
523 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct))
524 $(eval $(call BuildPackage,ath10k-firmware-qca9888-ct-full-htt))