2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=ath10k-firmware
11 PKG_SOURCE_DATE
:=2017-03-29
12 PKG_SOURCE_VERSION
:=956e2609b7e42c8c710bba10ef925a5be1be5137
13 PKG_MIRROR_HASH
:=25f724ff38c830281b3efba4a4ddffaae0c4bd8fea0f4c1061591229ff05535b
17 PKG_SOURCE_URL
:=https
://github.com
/kvalo
/ath10k-firmware.git
19 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/ath10k-firmware-default
26 URL
:=$(PKG_SOURCE_URL
)
30 define Package
/ath10k-firmware-qca9887
31 $(Package
/ath10k-firmware-default
)
32 TITLE
:=ath10k firmware for QCA9887 devices
35 define Package
/ath10k-firmware-qca9888
36 $(Package
/ath10k-firmware-default
)
37 TITLE
:=ath10k firmware for QCA9888 devices
40 define Package
/ath10k-firmware-qca9887-ct
41 $(Package
/ath10k-firmware-default
)
42 TITLE
:=ath10k-CT firmware for QCA9887 devices
45 define Package
/ath10k-firmware-qca988x
46 $(Package
/ath10k-firmware-default
)
47 TITLE
:=ath10k firmware for QCA988x devices
52 CT_FIRMWARE_FILE
= $(1)-$($(1)_FIRMWARE_FILE_CT
)
54 define Download
/ct-firmware
55 URL
:=https
://www.candelatech.com
/downloads
/$(2)
56 FILE
:=$(call CT_FIRMWARE_FILE
,$(1))
57 URL_FILE
:=$($(1)_FIRMWARE_FILE_CT
)
60 QCA988X_FIRMWARE_FILE_CT
:=firmware-2-ct-full-community-19.bin.lede
61 define Download
/ath10k-firmware-qca988x-ct
62 $(call Download
/ct-firmware
,QCA988X
,)
63 HASH
:=bff98f028062dae9fc638c7596aec3c79bf9eddaff65cfacba067f6d72f217cd
65 $(eval
$(call Download
,ath10k-firmware-qca988x-ct
))
67 QCA9887_FIRMWARE_FILE_CT
:=firmware-2-ct-full-community-19.bin.lede
68 define Download
/ath10k-firmware-qca9887-ct
69 $(call Download
/ct-firmware
,QCA9887
,ath10k-9887
)
70 HASH
:=95dc106f98672bd9c7d3fe6881ed79ab079cb49b0a995650991b1beaff2b0101
72 $(eval
$(call Download
,ath10k-firmware-qca9887-ct
))
74 QCA99X0_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-9.bin-lede
.004
75 define Download
/ath10k-firmware-qca99x0-ct
76 $(call Download
/ct-firmware
,QCA99X0
,ath10k-10-4
)
77 HASH
:=993c29fd64bb2a59b86d34f58601a1a48b83b541750bc511f78cc17152829b4d
79 $(eval
$(call Download
,ath10k-firmware-qca99x0-ct
))
81 QCA9984_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-9.bin-lede
.004
82 define Download
/ath10k-firmware-qca9984-ct
83 $(call Download
/ct-firmware
,QCA9984
,ath10k-9984-10-4
)
84 HASH
:=d997eed9a8bc6809c01d367759ba8545c10e3be93ea1f33d6d753127ef0f7c5e
86 $(eval
$(call Download
,ath10k-firmware-qca9984-ct
))
88 QCA9888_FIRMWARE_FILE_CT
:=firmware-5-ct-full-community-9.bin-lede
.004
89 define Download
/ath10k-firmware-qca9888-ct
90 $(call Download
/ct-firmware
,QCA9888
,ath10k-9888-10-4
)
91 HASH
:=bbaa71bc7dcaa264c5875e86639f174908fed09fbace975e325959d42f3754ff
93 $(eval
$(call Download
,ath10k-firmware-qca9888-ct
))
95 define Package
/ath10k-firmware-qca99x0
96 $(Package
/ath10k-firmware-default
)
97 TITLE
:=ath10k firmware for QCA99x0 devices
102 define Package
/ath10k-firmware-qca988x-ct
103 $(Package
/ath10k-firmware-default
)
104 TITLE
:=ath10k CT
10.1 firmware for QCA988x devices
109 define Package
/ath10k-firmware-qca9887-ct
110 $(Package
/ath10k-firmware-default
)
111 TITLE
:=ath10k CT
10.1 firmware for QCA9887 devices
116 define Package
/ath10k-firmware-qca988x-ct
/description
117 Alternative ath10k firmware for QCA988X from Candela Technologies.
118 Enables IBSS and other features. See
:
119 http
://www.candelatech.com
/ath10k-10.1.php
120 This firmware will NOT be used unless the standard ath10k-firmware-qca988x
121 is un-selected since the driver will try to load firmware-5.bin before
125 define Package
/ath10k-firmware-qca9887-ct
/description
126 Alternative ath10k firmware for QCA9887 from Candela Technologies.
127 Enables IBSS and other features. See
:
128 http
://www.candelatech.com
/ath10k-10.1.php
129 This firmware conflicts with the standard
9887 firmware
, so select only
133 define Package
/ath10k-firmware-qca99x0-ct
/description
134 Alternative ath10k firmware for QCA99x0 from Candela Technologies.
135 Enables IBSS and other features. See
:
136 http
://www.candelatech.com
/ath10k-10.4.php
137 This firmware conflicts with the standard
99x0 firmware
, so select only
141 define Package
/ath10k-firmware-qca9984-ct
/description
142 Alternative ath10k firmware for QCA9984 from Candela Technologies.
143 Enables IBSS and other features. See
:
144 http
://www.candelatech.com
/ath10k-10.4.php
145 This firmware conflicts with the standard
9984 firmware
, so select only
149 define Package
/ath10k-firmware-qca9888-ct
/description
150 Alternative ath10k firmware for QCA9886 and QCA9888 from Candela Technologies.
151 Enables IBSS and other features. See
:
152 http
://www.candelatech.com
/ath10k-10.4.php
153 This firmware conflicts with the standard
9886 and
9888 firmware
, so select only
157 define Package
/ath10k-firmware-qca99x0
/description
158 Standard ath10k firmware for QCA99x0 from QCA
159 This firmware conflicts with the CT
99x0 firmware
, so select only
163 define Package
/ath10k-firmware-qca99x0-ct
164 $(Package
/ath10k-firmware-default
)
165 TITLE
:=ath10k CT
10.4.3 firmware for QCA99x0 devices
170 define Package
/ath10k-firmware-qca9984-ct
171 $(Package
/ath10k-firmware-default
)
172 TITLE
:=ath10k CT
10.4.3 firmware for QCA9984 devices
177 define Package
/ath10k-firmware-qca9888-ct
178 $(Package
/ath10k-firmware-default
)
179 TITLE
:=ath10k CT
10.4.3 firmware for QCA9886 and QCA9888 devices
184 define Package
/ath10k-firmware-qca9984
185 $(Package
/ath10k-firmware-default
)
186 TITLE
:=ath10k firmware for QCA9984 devices
191 define Package
/ath10k-firmware-qca4019
192 $(Package
/ath10k-firmware-default
)
193 TITLE
:=ath10k firmware for IPQ
/QCA4019 devices
198 define Package
/ath10k-firmware-qca6174
199 $(Package
/ath10k-firmware-default
)
200 TITLE
:=ath10k firmware for QCA6174 devices
205 QCA99X0_BOARD_REV
:=ddcec9efd245da9365c474f513a855a55f3ac7fe
206 QCA99X0_BOARD_FILE
:=board-2.bin.
$(QCA99X0_BOARD_REV
)
208 define Download
/qca99x0-board
209 URL
:=https
://source.codeaurora.org
/quic
/qsdk
/oss
/firmware
/ath10k-firmware
/plain
/ath10k
/QCA99X0
/hw2.0
210 URL_FILE
:=board-2.bin?id
=$(QCA99X0_BOARD_REV
)
211 FILE
:=$(QCA99X0_BOARD_FILE
)
212 HASH
:=03711ac21e60ef59d3815e235eb721c0c22851b5410299411085aa6f2af45401
214 $(eval
$(call Download
,qca99x0-board
))
220 define Package
/ath10k-firmware-qca4019
/install
221 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
223 $(PKG_BUILD_DIR
)/QCA4019
/hw1.0
/board-2.bin \
224 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/
226 $(PKG_BUILD_DIR
)/QCA4019
/hw1.0
/3.2.1/firmware-5.bin_10.4
-3.2.1-00053 \
227 $(1)/lib
/firmware
/ath10k
/QCA4019
/hw1.0
/firmware-5.bin
230 define Package
/ath10k-firmware-qca9887
/install
231 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
233 $(PKG_BUILD_DIR
)/QCA9887
/hw1.0
/10.2.4-1.0/firmware-5.bin_10.2
.4-1.0-00029 \
234 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/firmware-5.bin
236 $(PKG_BUILD_DIR
)/QCA9887
/hw1.0
/board.bin \
237 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/board.bin
240 define Package
/ath10k-firmware-qca9888
/install
241 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
243 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/board-2.bin \
244 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board-2.bin
246 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/board-2.bin \
247 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board.bin
249 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/firmware-5.bin_10.4
-3.2-00072 \
250 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/firmware-5.bin
253 define Package
/ath10k-firmware-qca988x
/install
254 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
256 $(PKG_BUILD_DIR
)/QCA988X
/hw2.0
/board.bin \
257 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/
259 $(PKG_BUILD_DIR
)/QCA988X
/hw2.0
/10.2.4-1.0/firmware-5.bin_10.2
.4-1.0-00029 \
260 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/firmware-5.bin
263 define Package
/ath10k-firmware-qca9887-ct
/install
264 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
266 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9887
) \
267 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/firmware-2.bin
269 $(PKG_BUILD_DIR
)/QCA9887
/hw1.0
/board.bin \
270 $(1)/lib
/firmware
/ath10k
/QCA9887
/hw1.0
/board.bin
273 define Package
/ath10k-firmware-qca988x-ct
/install
274 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
276 $(PKG_BUILD_DIR
)/QCA988X
/hw2.0
/board.bin \
277 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/
279 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA988X
) \
280 $(1)/lib
/firmware
/ath10k
/QCA988X
/hw2.0
/firmware-2.bin
283 define Package
/ath10k-firmware-qca6174
/install
284 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
285 $(CP
) $(PKG_BUILD_DIR
)/QCA6174
$(1)/lib
/firmware
/ath10k
/
288 define Package
/ath10k-firmware-qca99x0
/install
289 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
291 $(DL_DIR
)/$(QCA99X0_BOARD_FILE
) \
292 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board-2.bin
294 $(PKG_BUILD_DIR
)/QCA99X0
/hw2.0
/boardData_AR900B_CUS239_5G_v2_001.bin \
295 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board.bin
297 $(PKG_BUILD_DIR
)/QCA99X0
/hw2.0
/firmware-5.bin_10.4
.1.00030-1 \
298 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/firmware-5.bin
301 define Package
/ath10k-firmware-qca99x0-ct
/install
302 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
304 $(DL_DIR
)/$(QCA99X0_BOARD_FILE
) \
305 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board-2.bin
307 $(PKG_BUILD_DIR
)/QCA99X0
/hw2.0
/boardData_AR900B_CUS239_5G_v2_001.bin \
308 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/board.bin
310 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA99X0
) \
311 $(1)/lib
/firmware
/ath10k
/QCA99X0
/hw2.0
/firmware-5.bin
314 define Package
/ath10k-firmware-qca9984
/install
315 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
317 $(PKG_BUILD_DIR
)/QCA9984
/hw1.0
/board-2.bin \
318 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/board-2.bin
320 $(PKG_BUILD_DIR
)/QCA9984
/hw1.0
/3.4/firmware-5.bin_10.4
-3.4-00082 \
321 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/firmware-5.bin
324 define Package
/ath10k-firmware-qca9984-ct
/install
325 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
327 $(PKG_BUILD_DIR
)/QCA9984
/hw1.0
/board-2.bin \
328 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/board-2.bin
330 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9984
) \
331 $(1)/lib
/firmware
/ath10k
/QCA9984
/hw1.0
/firmware-5.bin
334 define Package
/ath10k-firmware-qca9888-ct
/install
335 $(INSTALL_DIR
) $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
337 ..
/..
/cal-pci-0000
:01:00.0.bin \
338 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board.bin
340 $(PKG_BUILD_DIR
)/QCA9888
/hw2.0
/board-2.bin \
341 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/board-2.bin
343 $(DL_DIR
)/$(call CT_FIRMWARE_FILE
,QCA9888
) \
344 $(1)/lib
/firmware
/ath10k
/QCA9888
/hw2.0
/firmware-5.bin
347 $(eval
$(call BuildPackage
,ath10k-firmware-qca9887
))
348 $(eval
$(call BuildPackage
,ath10k-firmware-qca9888
))
349 $(eval
$(call BuildPackage
,ath10k-firmware-qca988x
))
350 $(eval
$(call BuildPackage
,ath10k-firmware-qca99x0
))
351 $(eval
$(call BuildPackage
,ath10k-firmware-qca6174
))
352 $(eval
$(call BuildPackage
,ath10k-firmware-qca9984
))
353 $(eval
$(call BuildPackage
,ath10k-firmware-qca4019
))
355 $(eval
$(call BuildPackage
,ath10k-firmware-qca9887-ct
))
356 $(eval
$(call BuildPackage
,ath10k-firmware-qca988x-ct
))
357 $(eval
$(call BuildPackage
,ath10k-firmware-qca99x0-ct
))
358 $(eval
$(call BuildPackage
,ath10k-firmware-qca9984-ct
))
359 $(eval
$(call BuildPackage
,ath10k-firmware-qca9888-ct
))