2 # Copyright (C) 2007-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
9 include $(INCLUDE_DIR
)/kernel.mk
13 PKG_VERSION
:=2015-07-21
15 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
16 PKG_BACKPORT_VERSION
:=
17 PKG_MD5SUM
:=ec529acfb9c942daf8116e5cff47c999
19 PKG_SOURCE
:=compat-wireless-
$(PKG_VERSION
)$(PKG_BACKPORT_VERSION
).
tar.bz2
20 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/compat-wireless-
$(PKG_VERSION
)
23 PKG_MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
26 adm8211 ath5k libertas-usb libertas-sdio p54-common p54-pci p54-usb p54-spi \
27 rt2x00-lib rt2x00-pci rt2x00-usb rt2800-lib rt2400-pci rt2500-pci \
28 rt2500-usb rt61-pci rt73-usb rt2800-mmio rt2800-pci rt2800-usb rt2800-soc \
29 rtl8180 rtl8187 zd1211rw mac80211-hwsim carl9170 b43 b43legacy \
30 ath9k-common ath9k ath9k-htc ath10k ath net-libipw net-ipw2100 net-ipw2200 \
31 mwl8k mwifiex-pcie net-hermes net-hermes-pci net-hermes-plx net-hermes-pcmcia \
32 iwl-legacy iwl3945 iwl4965 iwlagn wlcore wl12xx wl18xx lib80211 \
33 rtlwifi rtlwifi-pci rtlwifi-usb rtl8192c-common rtl8192ce rtl8192se \
34 rtl8192de rtl8192cu mt7601u
36 PKG_CONFIG_DEPENDS
:= \
37 CONFIG_PACKAGE_kmod-mac80211 \
38 $(patsubst %,CONFIG_PACKAGE_kmod-
%,$(PKG_DRIVERS
)) \
39 CONFIG_PACKAGE_MAC80211_DEBUGFS \
40 CONFIG_PACKAGE_MAC80211_MESH \
41 CONFIG_PACKAGE_ATH_DEBUG \
42 CONFIG_PACKAGE_ATH_DFS \
43 CONFIG_PACKAGE_B43_DEBUG \
44 CONFIG_PACKAGE_B43_PIO \
45 CONFIG_PACKAGE_B43_PHY_G \
46 CONFIG_PACKAGE_B43_PHY_N \
47 CONFIG_PACKAGE_B43_PHY_LP \
48 CONFIG_PACKAGE_B43_PHY_HT \
49 CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB \
50 CONFIG_PACKAGE_B43_BUSES_BCMA \
51 CONFIG_PACKAGE_B43_BUSES_SSB \
52 CONFIG_PACKAGE_RTLWIFI_DEBUG \
53 CONFIG_ATH_USER_REGD \
55 include $(INCLUDE_DIR
)/package.mk
57 WMENU
:=Wireless Drivers
59 define KernelPackage
/mac80211
/Default
61 URL
:=https
://wireless.wiki.kernel.org
/
62 MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
65 define KernelPackage
/cfg80211
66 $(call KernelPackage
/mac80211
/Default
)
67 TITLE
:=cfg80211
- wireless configuration API
70 $(PKG_BUILD_DIR
)/compat
/compat.ko \
71 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.ko
74 define KernelPackage
/cfg80211
/description
75 cfg80211 is the Linux wireless LAN
(802.11) configuration API.
78 define KernelPackage
/mac80211
79 $(call KernelPackage
/mac80211
/Default
)
80 TITLE
:=Linux
802.11 Wireless Networking Stack
81 DEPENDS
+= +kmod-crypto-core
+kmod-crypto-arc4
+kmod-cfg80211
+hostapd-common
84 FILES
:= $(PKG_BUILD_DIR
)/net
/mac80211
/mac80211.ko
88 define KernelPackage
/mac80211
/config
89 if PACKAGE_kmod-mac80211
91 config PACKAGE_MAC80211_DEBUGFS
92 bool
"Export mac80211 internals in DebugFS"
93 select KERNEL_DEBUG_FS
96 Select this to see extensive information about
97 the internal state of mac80211 in debugfs.
99 config PACKAGE_MAC80211_MESH
100 bool
"Enable 802.11s mesh support"
106 define KernelPackage
/mac80211
/description
107 Generic IEEE
802.11 Networking Stack
(mac80211
)
110 PKG_LINUX_FIRMWARE_NAME
:=linux-firmware
111 PKG_LINUX_FIRMWARE_VERSION
:=f404336ba808cbd57547196e13367079a23b822c
112 PKG_LINUX_FIRMWARE_SOURCE
:=$(PKG_LINUX_FIRMWARE_NAME
)-2015-03-20-$(PKG_LINUX_FIRMWARE_VERSION
).
tar.bz2
113 PKG_LINUX_FIRMWARE_PROTO
:=git
114 PKG_LINUX_FIRMWARE_SOURCE_URL
:=https
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/firmware
/linux-firmware.git
115 PKG_LINUX_FIRMWARE_SUBDIR
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
)
116 #PKG_LINUX_FIRMWARE_MIRROR_MD5SUM:=e219333f01835c6e556875a9e0deb3f9
118 define Download
/linux-firmware
119 FILE
:=$(PKG_LINUX_FIRMWARE_SOURCE
)
120 URL
:=$(PKG_LINUX_FIRMWARE_SOURCE_URL
)
121 MD5SUM
:=$(PKG_LINUX_FIRMWARE_MD5SUM
)
122 PROTO
:=$(PKG_LINUX_FIRMWARE_PROTO
)
123 VERSION
:=$(PKG_LINUX_FIRMWARE_VERSION
)
124 SUBDIR
:=$(PKG_LINUX_FIRMWARE_SUBDIR
)
125 MIRROR_MD5SUM
:=$(PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
)
127 $(eval
$(call Download
,linux-firmware
))
129 PKG_ATH10K_LINUX_FIRMWARE_NAME
:=ath10k-firmware
130 PKG_ATH10K_LINUX_FIRMWARE_VERSION
:=b46f3e01a6c1f9150fb4612ef53611d714565842
131 PKG_ATH10K_LINUX_FIRMWARE_SOURCE
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
).
tar.bz2
132 PKG_ATH10K_LINUX_FIRMWARE_PROTO
:=git
133 PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
:=https
://github.com
/kvalo
/ath10k-firmware.git
134 PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
135 #PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM:=?
137 define Download
/ath10k-firmware
138 FILE
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE
)
139 URL
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
)
140 PROTO
:=$(PKG_ATH10K_LINUX_FIRMWARE_PROTO
)
141 VERSION
:=$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
142 SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
)
143 #MIRROR_MD5SUM:=$(PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM)
145 $(eval
$(call Download
,ath10k-firmware
))
148 P54PCIFW
:=2.13.12.0.arm
149 P54USBFW
:=2.13.24.0.lm87.arm
150 P54SPIFW
:=2.13.0.0.a
.13.14.arm
152 define Download
/p54usb
154 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-usb
155 MD5SUM
:=8e8ab005a4f8f0123bcdc51bc25b47f6
157 $(eval
$(call Download
,p54usb
))
159 define Download
/p54pci
161 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-softmac
162 MD5SUM
:=ff7536af2092b1c4b21315bd103ef4c4
164 $(eval
$(call Download
,p54pci
))
166 define Download
/p54spi
168 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/stlc4560
169 MD5SUM
:=42661f8ecbadd88012807493f596081d
171 $(eval
$(call Download
,p54spi
))
173 define KernelPackage
/p54
/Default
174 $(call KernelPackage
/mac80211
/Default
)
175 TITLE
:=Prism54 Drivers
178 define KernelPackage
/p54
/description
179 Kernel module for Prism54 chipsets
(mac80211
)
182 define KernelPackage
/p54-common
183 $(call KernelPackage
/p54
/Default
)
184 DEPENDS
+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx
+kmod-mac80211
+kmod-lib-crc-ccitt
186 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54common.ko
189 define KernelPackage
/p54-pci
190 $(call KernelPackage
/p54
/Default
)
192 DEPENDS
+= @PCI_SUPPORT
+kmod-p54-common
193 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54pci.ko
194 AUTOLOAD
:=$(call AutoProbe
,p54pci
)
197 define KernelPackage
/p54-usb
198 $(call KernelPackage
/p54
/Default
)
200 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-p54-common
201 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54usb.ko
202 AUTOLOAD
:=$(call AutoProbe
,p54usb
)
205 define KernelPackage
/p54-spi
206 $(call KernelPackage
/p54
/Default
)
208 DEPENDS
+= @TARGET_omap24xx
+kmod-p54-common
209 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54spi.ko
210 AUTOLOAD
:=$(call AutoProbe
,p54spi
)
213 define KernelPackage
/rt2x00
/Default
214 $(call KernelPackage
/mac80211
/Default
)
215 TITLE
:=Ralink Drivers for RT2x00 cards
218 define KernelPackage
/rt2x00-lib
219 $(call KernelPackage
/rt2x00
/Default
)
220 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-mac80211
+kmod-lib-crc-itu-t
222 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00lib.ko
226 define KernelPackage
/rt2x00-lib
/config
227 if PACKAGE_kmod-rt2x00-lib
229 config PACKAGE_RT2X00_LIB_DEBUGFS
230 bool
"Enable rt2x00 debugfs support"
231 depends on PACKAGE_MAC80211_DEBUGFS
233 Enable creation of debugfs files for the rt2x00 drivers.
234 These debugfs files support both reading and writing of the
235 most important register types of the rt2x00 hardware.
237 config PACKAGE_RT2X00_DEBUG
238 bool
"Enable rt2x00 debug output"
240 Enable debugging output for
all rt2x00 modules
245 define KernelPackage
/rt2x00-mmio
246 $(call KernelPackage
/rt2x00
/Default
)
247 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-eeprom-93cx6
250 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00mmio.ko
253 define KernelPackage
/rt2x00-pci
254 $(call KernelPackage
/rt2x00
/Default
)
255 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-mmio
+kmod-rt2x00-lib
258 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00pci.ko
259 AUTOLOAD
:=$(call AutoProbe
,rt2x00pci
)
262 define KernelPackage
/rt2x00-usb
263 $(call KernelPackage
/rt2x00
/Default
)
264 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-lib
+kmod-usb-core
267 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00usb.ko
268 AUTOLOAD
:=$(call AutoProbe
,rt2x00usb
)
271 define KernelPackage
/rt2800-lib
272 $(call KernelPackage
/rt2x00
/Default
)
273 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-lib-crc-ccitt
+@DRIVER_11N_SUPPORT
276 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800lib.ko
279 define KernelPackage
/rt2400-pci
280 $(call KernelPackage
/rt2x00
/Default
)
281 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
283 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2400pci.ko
284 AUTOLOAD
:=$(call AutoProbe
,rt2400pci
)
287 define KernelPackage
/rt2500-pci
288 $(call KernelPackage
/rt2x00
/Default
)
289 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
291 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500pci.ko
292 AUTOLOAD
:=$(call AutoProbe
,rt2500pci
)
295 define KernelPackage
/rt2500-usb
296 $(call KernelPackage
/rt2x00
/Default
)
297 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
299 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500usb.ko
300 AUTOLOAD
:=$(call AutoProbe
,rt2500usb
)
303 define KernelPackage
/rt61-pci
304 $(call KernelPackage
/rt2x00
/Default
)
305 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
307 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt61pci.ko
308 AUTOLOAD
:=$(call AutoProbe
,rt61pci
)
311 define KernelPackage
/rt73-usb
312 $(call KernelPackage
/rt2x00
/Default
)
313 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
315 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt73usb.ko
316 AUTOLOAD
:=$(call AutoProbe
,rt73usb
)
319 define KernelPackage
/rt2800-mmio
320 $(call KernelPackage
/rt2x00
/Default
)
321 TITLE
+= (RT28xx
/RT3xxx MMIO
)
322 DEPENDS
+= +kmod-rt2800-lib
+kmod-rt2x00-mmio
324 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800mmio.ko
327 define KernelPackage
/rt2800-soc
328 $(call KernelPackage
/rt2x00
/Default
)
329 DEPENDS
+= @
(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620
) +kmod-rt2800-mmio
+kmod-rt2800-lib
330 TITLE
+= (RT28xx
/RT3xxx SoC
)
332 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00soc.ko \
333 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800soc.ko
334 AUTOLOAD
:=$(call AutoProbe
,rt2800soc
)
337 define KernelPackage
/rt2800-pci
338 $(call KernelPackage
/rt2x00
/Default
)
339 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
+kmod-rt2800-lib
+kmod-rt2800-mmio
341 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800pci.ko
342 AUTOLOAD
:=$(call AutoProbe
,rt2800pci
)
345 define KernelPackage
/rt2800-usb
346 $(call KernelPackage
/rt2x00
/Default
)
347 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
+kmod-rt2800-lib
+kmod-lib-crc-ccitt
349 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800usb.ko
350 AUTOLOAD
:=$(call AutoProbe
,rt2800usb
)
353 define KernelPackage
/rtl818x
/Default
354 $(call KernelPackage
/mac80211
/Default
)
355 TITLE
:=Realtek Drivers for RTL818x devices
356 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/rtl8187
357 DEPENDS
+= +kmod-eeprom-93cx6
+kmod-mac80211
360 define KernelPackage
/rtl8180
361 $(call KernelPackage
/rtl818x
/Default
)
362 DEPENDS
+= @PCI_SUPPORT
363 TITLE
+= (RTL8180 PCI
)
364 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8180
/rtl818x_pci.ko
365 AUTOLOAD
:=$(call AutoProbe
,rtl818x_pci
)
368 define KernelPackage
/rtl8187
369 $(call KernelPackage
/rtl818x
/Default
)
370 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
371 TITLE
+= (RTL8187 USB
)
372 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8187
/rtl8187.ko
373 AUTOLOAD
:=$(call AutoProbe
,rtl8187
)
376 define KernelPackage
/rtlwifi
/config
377 config PACKAGE_RTLWIFI_DEBUG
378 bool
"Realtek wireless debugging"
379 depends on PACKAGE_kmod-rtlwifi
381 Say Y
, if you want to debug realtek wireless drivers.
385 define KernelPackage
/rtlwifi
386 $(call KernelPackage
/mac80211
/Default
)
387 TITLE
:=Realtek common driver part
388 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT
) +kmod-mac80211
+@DRIVER_11N_SUPPORT
389 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtlwifi.ko
393 define KernelPackage
/rtlwifi-pci
394 $(call KernelPackage
/mac80211
/Default
)
395 TITLE
:=Realtek common driver part
(PCI support
)
396 DEPENDS
+= @PCI_SUPPORT
+kmod-rtlwifi
397 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_pci.ko
398 AUTOLOAD
:=$(call AutoProbe
,rtl_pci
)
402 define KernelPackage
/rtlwifi-usb
403 $(call KernelPackage
/mac80211
/Default
)
404 TITLE
:=Realtek common driver part
(USB support
)
405 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-rtlwifi
406 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_usb.ko
407 AUTOLOAD
:=$(call AutoProbe
,rtl_usb
)
411 define KernelPackage
/rtl8192c-common
412 $(call KernelPackage
/mac80211
/Default
)
413 TITLE
:=Realtek RTL8192CE
/RTL8192CU common support module
414 DEPENDS
+= +kmod-rtlwifi
415 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192c
/rtl8192c-common.ko
419 define KernelPackage
/rtl8192ce
420 $(call KernelPackage
/mac80211
/Default
)
421 TITLE
:=Realtek RTL8192CE
/RTL8188CE support
422 DEPENDS
+= +kmod-rtlwifi-pci
+kmod-rtl8192c-common
423 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192ce
/rtl8192ce.ko
424 AUTOLOAD
:=$(call AutoProbe
,rtl8192ce
)
427 define KernelPackage
/rtl8192ce
/install
428 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
429 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfw.bin
$(1)/lib
/firmware
/rtlwifi
430 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfwU.bin
$(1)/lib
/firmware
/rtlwifi
431 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfwU_B.bin
$(1)/lib
/firmware
/rtlwifi
434 define KernelPackage
/rtl8192se
435 $(call KernelPackage
/mac80211
/Default
)
436 TITLE
:=Realtek RTL8192SE
/RTL8191SE support
437 DEPENDS
+= +kmod-rtlwifi-pci
438 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192se
/rtl8192se.ko
439 AUTOLOAD
:=$(call AutoProbe
,rtl8192se
)
442 define KernelPackage
/rtl8192se
/install
443 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
444 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192sefw.bin
$(1)/lib
/firmware
/rtlwifi
447 define KernelPackage
/rtl8192de
448 $(call KernelPackage
/mac80211
/Default
)
449 TITLE
:=Realtek RTL8192DE
/RTL8188DE support
450 DEPENDS
+= +kmod-rtlwifi-pci
451 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192de
/rtl8192de.ko
452 AUTOLOAD
:=$(call AutoProbe
,rtl8192de
)
455 define KernelPackage
/rtl8192de
/install
456 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
457 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192defw.bin
$(1)/lib
/firmware
/rtlwifi
460 define KernelPackage
/rtl8192cu
461 $(call KernelPackage
/mac80211
/Default
)
462 TITLE
:=Realtek RTL8192CU
/RTL8188CU support
463 DEPENDS
+= +kmod-rtlwifi-usb
+kmod-rtl8192c-common
464 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192cu
/rtl8192cu.ko
465 AUTOLOAD
:=$(call AutoProbe
,rtl8192cu
)
468 define KernelPackage
/rtl8192cu
/install
469 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
470 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw.bin
$(1)/lib
/firmware
/rtlwifi
471 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_A.bin
$(1)/lib
/firmware
/rtlwifi
472 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_B.bin
$(1)/lib
/firmware
/rtlwifi
473 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_TMSC.bin
$(1)/lib
/firmware
/rtlwifi
476 ZD1211FW_NAME
:=zd1211-firmware
477 ZD1211FW_VERSION
:=1.4
478 define Download
/zd1211rw
479 FILE
:=$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
481 MD5SUM
:=19f28781d76569af8551c9d11294c870
483 $(eval
$(call Download
,zd1211rw
))
485 define KernelPackage
/zd1211rw
486 $(call KernelPackage
/mac80211
/Default
)
487 TITLE
:=Zydas ZD1211 support
488 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-mac80211
489 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/zd1211rw
/zd1211rw.ko
490 AUTOLOAD
:=$(call AutoProbe
,zd1211rw
)
493 define KernelPackage
/adm8211
494 $(call KernelPackage
/mac80211
/Default
)
495 TITLE
:=ADMTek
8211 support
496 DEPENDS
+=@PCI_SUPPORT
+kmod-mac80211
+kmod-eeprom-93cx6
497 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/adm8211.ko
498 AUTOLOAD
:=$(call AutoProbe
,adm8211
)
501 define KernelPackage
/ath
/config
504 bool
"Force Atheros drivers to respect the user's regdomain settings"
506 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
507 the regulatory limits and the user is only allowed to restrict the settings
508 even further, even if the country allows frequencies or power levels that
509 are forbidden by the EEPROM settings.
511 Select this option if you want the driver to respect the user's decision about
514 config PACKAGE_ATH_DEBUG
515 bool
"Atheros wireless debugging"
517 Say Y
, if you want to debug atheros wireless drivers.
518 Only ath9k
& ath10k make use of this.
520 config PACKAGE_ATH_DFS
521 bool
"Enable DFS support"
524 Dynamic frequency selection
(DFS
) is required for most of the
5 GHz band
525 channels in Europe
, US
, and Japan.
527 Select this option if you want to use such channels.
532 define KernelPackage
/ath
533 $(call KernelPackage
/mac80211
/Default
)
534 TITLE
:=Atheros common driver part
535 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25
+kmod-mac80211
536 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.ko
540 define KernelPackage
/ath
/description
541 This module contains some common parts needed by Atheros Wireless drivers.
544 define KernelPackage
/ath5k
545 $(call KernelPackage
/mac80211
/Default
)
546 TITLE
:=Atheros
5xxx wireless cards support
547 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath5k
548 DEPENDS
+= @PCI_SUPPORT||@TARGET_ath25
+kmod-ath
549 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.ko
550 AUTOLOAD
:=$(call AutoProbe
,ath5k
)
553 define KernelPackage
/ath5k
/description
554 This module adds support for wireless adapters based on
555 Atheros
5xxx chipset.
558 define KernelPackage
/ath9k-common
559 $(call KernelPackage
/mac80211
/Default
)
560 TITLE
:=Atheros
802.11n wireless devices
(common code for ath9k and ath9k_htc
)
561 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
562 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx
+kmod-ath
+@DRIVER_11N_SUPPORT
+@KERNEL_RELAY
564 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.ko \
565 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.ko
568 define KernelPackage
/ath9k
569 $(call KernelPackage
/mac80211
/Default
)
570 TITLE
:=Atheros
802.11n PCI wireless cards support
571 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
572 DEPENDS
+= @PCI_SUPPORT||TARGET_ar71xx
+kmod-ath9k-common
574 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.ko
575 AUTOLOAD
:=$(call AutoProbe
,ath9k
)
578 define KernelPackage
/ath9k
/description
579 This module adds support for wireless adapters based on
580 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
583 define KernelPackage
/ath9k
/config
585 config ATH9K_SUPPORT_PCOEM
586 bool
"Support chips used in PC OEM cards"
587 depends on PACKAGE_kmod-ath9k
591 define KernelPackage
/ath9k-htc
592 $(call KernelPackage
/mac80211
/Default
)
593 TITLE
:=Atheros
802.11n USB device support
594 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/ath9k
595 DEPENDS
+= @USB_SUPPORT
+kmod-ath9k-common
+kmod-usb-core
597 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_htc.ko
598 AUTOLOAD
:=$(call AutoProbe
,ath9k_htc
)
601 define KernelPackage
/ath9k-htc
/description
602 This module adds support for wireless adapters based on
603 Atheros USB AR9271 and AR7010 family of chipsets.
606 define KernelPackage
/ath10k
607 $(call KernelPackage
/mac80211
/Default
)
608 TITLE
:=Atheros
802.11ac wireless cards support
609 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/Drivers
/ath10k
610 DEPENDS
+= @PCI_SUPPORT
+kmod-ath
+@DRIVER_11N_SUPPORT
612 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_core.ko \
613 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_pci.ko
614 AUTOLOAD
:=$(call AutoLoad
,55,ath10k_core ath10k_pci
)
617 define KernelPackage
/ath10k
/description
618 This module adds support for wireless adapters based on
619 Atheros IEEE
802.11ac family of chipsets. For now only
623 define KernelPackage
/ath10k
/config
624 if PACKAGE_kmod-ath10k
626 config ATH10K_API2_FW
627 bool
"Firmware optimized for AP operation (v10.1 / API v2)"
630 Use the ath10k firmware from the
10.1 SDK using API v2 optimized
631 for access point operation if the default firmware keeps crashing.
636 define KernelPackage
/carl9170
637 $(call KernelPackage
/mac80211
/Default
)
638 TITLE
:=Driver for Atheros AR9170 USB sticks
639 DEPENDS
:=@USB_SUPPORT
+kmod-mac80211
+kmod-ath
+kmod-usb-core
+kmod-input-core
+@DRIVER_11N_SUPPORT
640 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/carl9170
/carl9170.ko
641 AUTOLOAD
:=$(call AutoProbe
,carl9170
)
644 define KernelPackage
/lib80211
645 $(call KernelPackage
/mac80211
/Default
)
646 TITLE
:=802.11 Networking stack
647 DEPENDS
:=+kmod-cfg80211
649 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211.ko \
650 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_wep.ko \
651 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_ccmp.ko \
652 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_tkip.ko
653 AUTOLOAD
:=$(call AutoProbe
, \
656 lib80211_crypt_ccmp \
657 lib80211_crypt_tkip \
661 define KernelPackage
/lib80211
/description
662 Kernel modules for
802.11 Networking stack
666 - lib80211_crypt_tkip
667 - lib80211_crytp_ccmp
670 define KernelPackage
/libertas-usb
671 $(call KernelPackage
/mac80211
/Default
)
672 DEPENDS
+= @USB_SUPPORT
+kmod-cfg80211
+kmod-usb-core
+kmod-lib80211
+@DRIVER_WEXT_SUPPORT
673 TITLE
:=Marvell
88W8015 Wireless Driver
675 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
676 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/usb8xxx.ko
677 AUTOLOAD
:=$(call AutoProbe
,libertas usb8xxx
)
680 define KernelPackage
/libertas-sdio
681 $(call KernelPackage
/mac80211
/Default
)
682 DEPENDS
+= +kmod-cfg80211
+kmod-lib80211
+kmod-mmc
+@DRIVER_WEXT_SUPPORT @
!TARGET_uml
683 TITLE
:=Marvell
88W8686 Wireless Driver
685 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
686 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas_sdio.ko
687 AUTOLOAD
:=$(call AutoProbe
,libertas libertas_sdio
)
690 define KernelPackage
/mac80211-hwsim
691 $(call KernelPackage
/mac80211
/Default
)
692 TITLE
:=mac80211 HW simulation device
693 DEPENDS
+= +kmod-mac80211
+@DRIVER_11N_SUPPORT
694 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mac80211_hwsim.ko
695 AUTOLOAD
:=$(call AutoProbe
,mac80211_hwsim
)
698 PKG_MT7601U_FW_NAME
:=DPO_MT7601U_LinuxSTA
699 PKG_MT7601U_FW_VERSION
:=3.0.0.4_20130913
700 PKG_MT7601U_FW_MD5SUM
:=5f440dccc8bc952745a191994fc34699
701 PKG_MT7601U_FW_SOURCE
:=$(PKG_MT7601U_FW_NAME
)_
$(PKG_MT7601U_FW_VERSION
).
tar.bz2
702 PKG_MT7601U_FW_SOURCE_URL
:=http
://www.mediatek.com
/AmazonS3
/Downloads
/linux
/
703 define Download
/mt7601u-firmware
704 FILE
:=$(PKG_MT7601U_FW_SOURCE
)
705 URL
:=$(PKG_MT7601U_FW_SOURCE_URL
)
706 MD5SUM
:=$(PKG_MT7601U_FW_MD5SUM
)
707 SUBDIR
:=$(PKG_MT7601U_FW_NAME
)_
$(PKG_MT7601U_FW_VERSION
)
709 $(eval
$(call Download
,mt7601u-firmware
))
711 define KernelPackage
/mt7601u
712 $(call KernelPackage
/mac80211
/Default
)
713 TITLE
:=MT7601U-based USB dongles Wireless Driver
714 DEPENDS
+= +kmod-mac80211
+@DRIVER_11N_SUPPORT @USB_SUPPORT
+kmod-usb-core
715 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mediatek
/mt7601u
/mt7601u.ko
716 AUTOLOAD
:=$(call AutoProbe
,mt7601
)
719 define KernelPackage
/net-libipw
720 $(call KernelPackage
/mac80211
/Default
)
721 TITLE
:=libipw for ipw2100 and ipw2200
722 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-michael-mic
+kmod-lib80211
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
723 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.ko
724 AUTOLOAD
:=$(call AutoProbe
,libipw
)
727 define KernelPackage
/net-libipw
/description
728 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
731 IPW2100_NAME
:=ipw2100-fw
734 define Download
/net-ipw2100
735 URL
:=http
://bughost.org
/firmware
/
736 FILE
:=$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
737 MD5SUM
=46aa75bcda1a00efa841f9707bbbd113
739 $(eval
$(call Download
,net-ipw2100
))
741 define KernelPackage
/net-ipw2100
742 $(call KernelPackage
/mac80211
/Default
)
743 TITLE
:=Intel IPW2100 driver
744 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
745 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.ko
746 AUTOLOAD
:=$(call AutoProbe
,ipw2100
)
749 define KernelPackage
/net-ipw2100
/description
750 Kernel support for Intel IPW2100
755 IPW2200_NAME
:=ipw2200-fw
758 define Download
/net-ipw2200
759 URL
:=http
://bughost.org
/firmware
/
760 FILE
:=$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
761 MD5SUM
=eaba788643c7cc7483dd67ace70f6e99
763 $(eval
$(call Download
,net-ipw2200
))
765 define KernelPackage
/net-ipw2200
766 $(call KernelPackage
/mac80211
/Default
)
767 TITLE
:=Intel IPW2200 driver
768 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
769 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.ko
770 AUTOLOAD
:=$(call AutoProbe
,ipw2200
)
773 define KernelPackage
/net-ipw2200
/description
774 Kernel support for Intel IPW2200
780 define KernelPackage
/net-hermes
781 $(call KernelPackage
/mac80211
/Default
)
782 TITLE
:=Hermes
802.11b chipset support
783 DEPENDS
:=@PCI_SUPPORT||PCMCIA_SUPPORT
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
784 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco.ko
785 AUTOLOAD
:=$(call AutoProbe
,orinoco
)
788 define KernelPackage
/net-hermes
/description
789 Kernel support for Hermes
802.11b chipsets
792 define KernelPackage
/net-hermes-pci
793 $(call KernelPackage
/mac80211
/Default
)
794 TITLE
:=Intersil Prism
2.5 PCI support
795 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
796 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_pci.ko
797 AUTOLOAD
:=$(call AutoProbe
,orinoco_pci
)
800 define KernelPackage
/net-hermes-pci
/description
801 Kernel modules for Intersil Prism
2.5 PCI support
804 define KernelPackage
/net-hermes-plx
805 $(call KernelPackage
/mac80211
/Default
)
806 TITLE
:=PLX9052 based PCI adaptor
807 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
808 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_plx.ko
809 AUTOLOAD
:=$(call AutoProbe
,orinoco_plx
)
812 define KernelPackage
/net-hermes-plx
/description
813 Kernel modules for Hermes in PLX9052 based PCI adaptors
816 define KernelPackage
/net-hermes-pcmcia
817 $(call KernelPackage
/mac80211
/Default
)
818 TITLE
:=Hermes based PCMCIA adaptors
819 DEPENDS
:=@PCMCIA_SUPPORT
+kmod-net-hermes @BROKEN
820 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_cs.ko
821 AUTOLOAD
:=$(call AutoProbe
,orinoco_cs
)
824 define KernelPackage
/net-hermes-pcmcia
/description
825 Kernel modules for Hermes based PCMCIA adaptors
828 define KernelPackage
/iwlagn
829 $(call KernelPackage
/mac80211
/Default
)
830 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
+@DRIVER_11N_SUPPORT
831 TITLE
:=Intel AGN Wireless support
833 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/iwlwifi.ko \
834 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/dvm
/iwldvm.ko
835 AUTOLOAD
:=$(call AutoProbe
,iwlwifi iwldvm
)
839 define KernelPackage
/iwlagn
/description
840 iwlagn kernel module for Intel
5000/5150/1000/6000/6050/6005/6030/100 support
843 define KernelPackage
/iwlagn
/config
844 if PACKAGE_kmod-iwlagn
847 bool
"Intel 5000 Firmware"
850 Download and
install firmware for
:
851 Intel Wireless WiFi
5100AGN
, 5300AGN
, and
5350AGN
854 bool
"Intel 5150 Firmware"
857 Download and
install firmware for
:
858 Intel Wireless WiFi
5150AGN
861 bool
"Intel 1000 Firmware"
864 Download and
install firmware for
:
865 Intel Centrino Wireless-N
1000
868 bool
"Intel 6000 Firmware"
871 Download and
install firmware for
:
872 Intel Centrino Ultimate-N
6300 and Advanced-N
6200
875 bool
"Intel 6050 Firmware"
878 Download and
install firmware for
:
879 Intel Centrino Advanced-N
+ WiMAX
6250 and Wireless-N
+ WiMAX
6150
882 bool
"Intel 6005 Firmware"
885 Download and
install firmware for
:
886 Intel Centrino Advanced-N
6205
889 bool
"Intel 6030 Firmware"
892 Download and
install firmware for
:
893 Intel Centrino Advanced-N
6230, Wireless-N
1030, Wireless-N
130 and Advanced-N
6235
896 bool
"Intel 7260 Firmware"
899 Download and
install firmware for
:
900 Intel Dual Band Wireless-N
7260 and Intel Dual Band Wireless-AC
7260
903 bool
"Intel 7265 Firmware"
906 Download and
install firmware for
:
910 bool
"Intel 100 Firmware"
913 Download and
install firmware for
:
914 Intel Centrino Wireless-N
100
917 bool
"Intel 2000 Firmware"
920 Download and
install firmware for
:
921 Intel Centrino Wireless-N
2200
924 bool
"Intel 2030 Firmware"
927 Download and
install firmware for
:
928 Intel Centrino Wireless-N
2230
931 bool
"Intel 105 Firmware"
934 Download and
install firmware for
:
935 Intel Centrino Wireless-N
105
938 bool
"Intel 135 Firmware"
941 Download and
install firmware for
:
942 Intel Centrino Wireless-N
135
945 bool
"Intel 3160 Firmware"
948 Download and
install firmware for
:
953 define KernelPackage
/iwl-legacy
954 $(call KernelPackage
/mac80211
/Default
)
955 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
956 TITLE
:=Intel legacy Wireless support
957 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwlegacy.ko
958 AUTOLOAD
:=$(call AutoProbe
,iwlegacy
)
961 define KernelPackage
/iwl-legacy
/description
962 iwl-legacy kernel module for legacy Intel wireless support
965 define KernelPackage
/iwl3945
966 $(call KernelPackage
/mac80211
/Default
)
967 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
968 TITLE
:=Intel iwl3945 Wireless support
969 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl3945.ko
970 AUTOLOAD
:=$(call AutoProbe
,iwl3945
)
973 define KernelPackage
/iwl3945
/description
974 iwl3945 kernel module for Intel
3945 support
977 define KernelPackage
/iwl4965
978 $(call KernelPackage
/mac80211
/Default
)
979 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
+@DRIVER_11N_SUPPORT
980 TITLE
:=Intel iwl4965 Wireless support
981 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl4965.ko
982 AUTOLOAD
:=$(call AutoProbe
,iwl4965
)
985 define KernelPackage
/iwl4965
/description
986 iwl4965 kernel module for Intel
4965 support
990 define KernelPackage
/mwl8k
991 $(call KernelPackage
/mac80211
/Default
)
992 TITLE
:=Driver for Marvell TOPDOG
802.11 Wireless cards
993 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwl8k
994 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
995 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwl8k.ko
996 AUTOLOAD
:=$(call AutoProbe
,mwl8k
)
999 define KernelPackage
/mwl8k
/description
1000 Kernel modules for Marvell TOPDOG
802.11 Wireless cards
1004 define KernelPackage
/mwifiex-pcie
1005 $(call KernelPackage
/mac80211
/Default
)
1006 TITLE
:=Driver for Marvell
802.11n
/802.11ac PCIe Wireless cards
1007 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwifiex
1008 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
1010 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwifiex
/mwifiex.ko \
1011 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwifiex
/mwifiex_pcie.ko
1012 AUTOLOAD
:=$(call AutoProbe
,mwifiex_pcie
)
1015 define KernelPackage
/mwifiex-pcie
/description
1016 Kernel modules for Marvell
802.11n
/802.11ac PCIe Wireless cards
1020 define KernelPackage
/wlcore
1021 $(call KernelPackage
/mac80211
/Default
)
1022 TITLE
:=TI common driver part
1023 DEPENDS
+= @TARGET_omap
+kmod-mac80211
+@DRIVER_11N_SUPPORT
1025 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore.ko \
1026 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore_sdio.ko
1027 AUTOLOAD
:=$(call AutoProbe
,wlcore wlcore_sdio
)
1030 define KernelPackage
/wlcore
/description
1031 This module contains some common parts needed by TI Wireless drivers.
1034 define KernelPackage
/wl12xx
1035 $(call KernelPackage
/mac80211
/Default
)
1036 TITLE
:=Driver for TI WL12xx
1037 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl12xx
1038 DEPENDS
+= +kmod-wlcore
1039 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl12xx
/wl12xx.ko
1040 AUTOLOAD
:=$(call AutoProbe
,wl12xx
)
1043 define KernelPackage
/wl12xx
/description
1044 Kernel modules for TI WL12xx
1047 define KernelPackage
/wl18xx
1048 $(call KernelPackage
/mac80211
/Default
)
1049 TITLE
:=Driver for TI WL18xx
1050 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl18xx
1051 DEPENDS
+= +kmod-wlcore
1052 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl18xx
/wl18xx.ko
1053 AUTOLOAD
:=$(call AutoProbe
,wl18xx
)
1056 define KernelPackage
/wl18xx
/description
1057 Kernel modules for TI WL18xx
1062 ifneq ($(CONFIG_B43_FW_6_30
),)
1063 PKG_B43_FWV4_NAME
:=broadcom-wl
1064 PKG_B43_FWV4_VERSION
:=6.30.163.46
1065 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).wl_apsta.o
1066 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1067 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1068 PKG_B43_FWV4_MD5SUM
:=6fe97e9368d25342a1ab943d3cf3496d
1070 ifneq ($(CONFIG_B43_FW_5_10
),)
1071 PKG_B43_FWV4_NAME
:=broadcom-wl
1072 PKG_B43_FWV4_VERSION
:=5.10.56.27.3
1073 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta
/wl_prebuilt.o
1074 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)_mipsel.
tar.bz2
1075 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1076 PKG_B43_FWV4_MD5SUM
:=3363e3a6b3d9d73c49dea870c7834eac
1078 ifneq ($(CONFIG_B43_FW_4_178
),)
1079 PKG_B43_FWV4_NAME
:=broadcom-wl
1080 PKG_B43_FWV4_VERSION
:=4.178.10.4
1081 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1082 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1083 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1084 PKG_B43_FWV4_MD5SUM
:=14477e8cbbb91b11896affac9b219fdb
1086 ifneq ($(CONFIG_B43_FW_5_100_138
),)
1087 PKG_B43_FWV4_NAME
:=broadcom-wl
1088 PKG_B43_FWV4_VERSION
:=5.100.138
1089 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1090 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1091 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1092 PKG_B43_FWV4_MD5SUM
:=f4e357b09eaf5d8b1f1920cf3493a555
1094 PKG_B43_FWV4_NAME
:=broadcom-wl
1095 PKG_B43_FWV4_VERSION
:=4.150.10.5
1096 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta_mimo.o
1097 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1098 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1099 PKG_B43_FWV4_MD5SUM
:=0c6ba9687114c6b598e8019e262d9a60
1104 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
1105 PKG_B43_FWV4_NAME
:=broadcom-wl
1106 PKG_B43_FWV4_VERSION
:=5.2
1107 PKG_B43_FWV4_OBJECT
:=openfwwf-
$(PKG_B43_FWV4_VERSION
)
1108 PKG_B43_FWV4_SOURCE
:=openfwwf-
$(PKG_B43_FWV4_VERSION
).
tar.gz
1109 PKG_B43_FWV4_SOURCE_URL
:=http
://www.ing.unibs.it
/openfwwf
/firmware
/
1110 PKG_B43_FWV4_MD5SUM
:=e045a135453274e439ae183f8498b0fa
1114 PKG_B43_FWV3_NAME
:=wl_apsta
1115 PKG_B43_FWV3_VERSION
:=3.130.20.0
1116 PKG_B43_FWV3_SOURCE
:=$(PKG_B43_FWV3_NAME
)-$(PKG_B43_FWV3_VERSION
).o
1117 PKG_B43_FWV3_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
1118 PKG_B43_FWV3_MD5SUM
:=e08665c5c5b66beb9c3b2dd54aa80cb3
1121 FILE
:=$(PKG_B43_FWV4_SOURCE
)
1122 URL
:=$(PKG_B43_FWV4_SOURCE_URL
)
1123 MD5SUM
:=$(PKG_B43_FWV4_MD5SUM
)
1125 $(eval
$(call Download
,b43
))
1127 define Download
/b43legacy
1128 FILE
:=$(PKG_B43_FWV3_SOURCE
)
1129 URL
:=$(PKG_B43_FWV3_SOURCE_URL
)
1130 MD5SUM
:=$(PKG_B43_FWV3_MD5SUM
)
1132 $(eval
$(call Download
,b43legacy
))
1135 define KernelPackage
/b43
1136 $(call KernelPackage
/mac80211
/Default
)
1137 TITLE
:=Broadcom
43xx wireless support
1138 URL
:=https
://wireless.wiki.kernel.org
/en
/users
/drivers
/b43
1141 # Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
1143 @PCI_SUPPORT
+kmod-mac80211 \
1144 $(if
$(CONFIG_PACKAGE_B43_USE_SSB
),+kmod-ssb
) \
1145 $(if
$(CONFIG_PACKAGE_B43_USE_BCMA
),+kmod-bcma
)
1146 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43
/b43.ko
1147 AUTOLOAD
:=$(call AutoProbe
,b43
)
1151 define KernelPackage
/b43
/config
1153 config PACKAGE_B43_USE_SSB
1154 select PACKAGE_kmod-ssb
1156 depends on
!TARGET_brcm47xx
&& !TARGET_brcm63xx
1157 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
1158 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_SSB
1160 config PACKAGE_B43_USE_BCMA
1161 select PACKAGE_kmod-bcma
1163 depends on
!TARGET_brcm47xx
&& !TARGET_bcm53xx
1164 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
1165 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA
1170 prompt
"b43 firmware version"
1171 default B43_FW_5_100_138
1173 This option allows you to select the version of the b43 firmware.
1176 bool
"Firmware 410.2160 from driver 4.150.10.5 (old stable)"
1178 Old stable firmware for BCM43xx devices.
1180 If unsure
, select this.
1183 bool
"Firmware 478.104 from driver 4.178.10.4"
1185 Older firmware for BCM43xx devices.
1187 If unsure
, select the
"stable" firmware.
1190 bool
"Firmware 508.1084 from driver 5.10.56.27"
1192 Older firmware for BCM43xx devices.
1194 If unsure
, select the
"stable" firmware.
1196 config B43_FW_5_100_138
1197 bool
"Firmware 666.2 from driver 5.100.138 (stable)"
1199 The currently default firmware for BCM43xx devices.
1201 This firmware currently gets most of the testing and is needed for some N-PHY devices.
1203 If unsure
, select the this firmware.
1206 bool
"Firmware 784.2 from driver 6.30.163.46 (experimental)"
1208 Newer experimental firmware for BCM43xx devices.
1210 This firmware is mostly untested.
1212 If unsure
, select the
"stable" firmware.
1214 config B43_OPENFIRMWARE
1215 bool
"Open FirmWare for WiFi networks"
1217 Opensource firmware for BCM43xx devices.
1219 Do _not_ select this
, unless you know what you are doing.
1220 The Opensource firmware is not suitable for embedded devices
, yet.
1221 It does not support QoS
, which is bad for AccessPoints.
1222 It does not support hardware crypto acceleration
, which is a showstopper
1223 for embedded devices with low CPU resources.
1225 If unsure
, select the
"stable" firmware.
1229 config B43_FW_SQUASH
1230 bool
"Remove unnecessary firmware files"
1231 depends on
!B43_OPENFIRMWARE
1234 This options allows you to remove unnecessary b43 firmware files
1235 from the final rootfs image. This can reduce the rootfs size by
1240 config B43_FW_SQUASH_COREREVS
1241 string
"Core revisions to include"
1242 depends on B43_FW_SQUASH
1243 default
"5,6,7,8,9,10,11,13,15" if TARGET_brcm47xx_legacy
1244 default
"16,28,29,30" if TARGET_brcm47xx_mips74k
1245 default
"5,6,7,8,9,10,11,13,15,16,28,29,30"
1247 This is a comma seperated list of core revision numbers.
1249 Example
(keep files for rev5 only
):
1252 Example
(keep files for rev5 and rev11
):
1255 config B43_FW_SQUASH_PHYTYPES
1256 string
"PHY types to include"
1257 depends on B43_FW_SQUASH
1258 default
"G,N,LP" if TARGET_brcm47xx_legacy
1259 default
"N,HT" if TARGET_brcm47xx_mips74k
1262 This is a comma seperated list of PHY types
:
1264 AG
=> Dual A-PHY G-PHY
1273 Example
(keep files for G-PHY only
):
1276 Example
(keep files for G-PHY and N-PHY
):
1280 prompt
"Supported buses"
1281 default PACKAGE_B43_BUSES_BCMA_AND_SSB
1283 This allows choosing buses that b43 should support.
1285 config PACKAGE_B43_BUSES_BCMA_AND_SSB
1286 depends on
!TARGET_brcm47xx_legacy
&& !TARGET_brcm47xx_mips74k
&& !TARGET_bcm53xx
1289 config PACKAGE_B43_BUSES_BCMA
1290 depends on
!TARGET_brcm47xx_legacy
1293 config PACKAGE_B43_BUSES_SSB
1294 depends on
!TARGET_brcm47xx_mips74k
&& !TARGET_bcm53xx
1299 config PACKAGE_B43_DEBUG
1300 bool
"Enable debug output and debugfs for b43"
1303 Enable additional debug output and runtime sanity checks for b43
1304 and enables the debugfs interface.
1308 config PACKAGE_B43_PIO
1309 bool
"Enable support for PIO transfer mode"
1312 Enable support for using PIO instead of DMA. Unless you have DMA
1313 transfer problems you don
't need this.
1317 config PACKAGE_B43_PHY_G
1318 bool "Enable support for G-PHYs"
1319 default n if TARGET_brcm47xx_mips74k
1322 Enable support for G-PHY. This includes support for the following devices:
1323 PCI: BCM4306, BCM4311, BCM4318
1324 SoC: BCM5352E, BCM4712
1328 config PACKAGE_B43_PHY_N
1329 bool "Enable support for N-PHYs"
1332 Enable support for N-PHY. This includes support for the following devices:
1333 PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
1334 SoC: BCM4716, BCM4717, BCM4718
1336 Currently only 11g speed is available.
1340 config PACKAGE_B43_PHY_LP
1341 bool "Enable support for LP-PHYs"
1342 default n if TARGET_brcm47xx_mips74k
1345 Enable support for LP-PHY. This includes support for the following devices:
1351 config PACKAGE_B43_PHY_HT
1352 bool "Enable support for HT-PHYs"
1353 default n if TARGET_brcm47xx_legacy
1356 Enable support for HT-PHY. This includes support for the following devices:
1359 Currently only 11g speed is available.
1363 config PACKAGE_B43_PHY_LCN
1364 bool "Enable support for LCN-PHYs"
1375 define KernelPackage/b43/description
1376 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
1379 define KernelPackage/b43legacy
1380 $(call KernelPackage/mac80211/Default)
1381 TITLE:=Broadcom 43xx-legacy wireless support
1382 URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
1385 DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
1386 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko
1387 AUTOLOAD:=$(call AutoProbe,b43legacy)
1391 define KernelPackage/b43legacy/config
1392 if PACKAGE_kmod-b43legacy
1394 config B43LEGACY_FW_SQUASH
1395 bool "Remove unnecessary firmware files"
1398 This options allows you to remove unnecessary b43legacy firmware files
1399 from the final rootfs image. This can reduce the rootfs size by
1404 config B43LEGACY_FW_SQUASH_COREREVS
1405 string "Core revisions to include"
1406 depends on B43LEGACY_FW_SQUASH
1409 This is a comma seperated list of core revision numbers.
1411 Example (keep files for rev4 only):
1414 Example (keep files for rev2 and rev4):
1420 define KernelPackage/b43legacy/description
1421 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
1425 define KernelPackage/brcmutil
1426 $(call KernelPackage/mac80211/Default)
1427 TITLE:=Broadcom IEEE802.11n common driver parts
1428 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
1429 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
1430 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
1431 AUTOLOAD:=$(call AutoProbe,brcmutil)
1435 define KernelPackage/brcmutil/description
1436 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
1439 define KernelPackage/brcmutil/config
1440 if PACKAGE_kmod-brcmutil
1442 config PACKAGE_BRCM80211_DEBUG
1443 bool "Broadcom wireless driver debugging"
1445 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
1450 PKG_BRCMSMAC_FW_NAME:=broadcom-wl
1451 PKG_BRCMSMAC_FW_VERSION:=5.100.138
1452 PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
1453 PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
1454 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
1455 PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
1457 define Download/brcmsmac
1458 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
1459 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
1460 MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
1462 $(eval $(call Download,brcmsmac))
1464 define KernelPackage/brcmsmac
1465 $(call KernelPackage/mac80211/Default)
1466 TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
1467 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
1468 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil
1469 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
1470 AUTOLOAD:=$(call AutoProbe,brcmsmac)
1474 define KernelPackage/brcmsmac/description
1475 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
1478 define KernelPackage/brcmsmac/config
1479 if PACKAGE_kmod-brcmsmac
1481 config BRCMSMAC_USE_FW_FROM_WL
1482 bool "Use firmware extracted from broadcom proprietary driver"
1485 Instead of using the official brcmsmac firmware a firmware
1486 version 666.2 extracted from the proprietary Broadcom driver
1487 is used. This is needed to get core rev 17 used in bcm4716
1496 define KernelPackage/brcmfmac
1497 $(call KernelPackage/mac80211/Default)
1498 TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
1499 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
1500 DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil +BRCMFMAC_SDIO:kmod-mmc +BRCMFMAC_USB:kmod-usb-core
1501 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
1502 AUTOLOAD:=$(call AutoProbe,brcmfmac)
1505 define KernelPackage/brcmfmac/description
1506 Kernel module for Broadcom IEEE802.11n USB Wireless cards
1509 define KernelPackage/brcmfmac/config
1510 if PACKAGE_kmod-brcmfmac
1512 config BRCMFMAC_SDIO
1513 bool "Enable SDIO bus interface support"
1516 Enable support for cards attached to an SDIO bus.
1517 Select this option only if you are sure that your
1518 board has a Broadcom wireless chip atacched to
1522 bool "Enable USB bus interface support"
1523 depends on USB_SUPPORT
1526 Supported USB connected chipsets:
1527 BCM43235, BCM43236, BCM43238 (all in revision 3 only)
1528 BCM43143, BCM43242, BCM43566, BCM43569
1530 config BRCMFMAC_PCIE
1531 bool "Enable PCIE bus interface support"
1532 depends on PCI_SUPPORT
1535 Supported PCIe connected chipsets:
1536 BCM4354, BCM4356, BCM43567, BCM43570, BCM43602
1541 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1547 CFG80211_INTERNAL_REGDB \
1548 CFG80211_CERTIFICATION_ONUS \
1549 MAC80211_RC_MINSTREL \
1550 MAC80211_RC_MINSTREL_HT \
1551 MAC80211_RC_MINSTREL_VHT \
1552 MAC80211_RC_DEFAULT_MINSTREL \
1554 config-$(call config_package,cfg80211) += CFG80211
1556 config-$(call config_package,mac80211) += MAC80211
1557 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1558 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1569 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1571 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
1572 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
1573 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
1575 config-$(call config_package,ath9k) += ATH9K
1576 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1577 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1578 config-$(CONFIG_PCI) += ATH9K_PCI
1579 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1580 config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
1582 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1583 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1585 config-$(call config_package,ath5k) += ATH5K
1586 ifdef CONFIG_TARGET_ath25
1587 config-y += ATH5K_AHB
1589 config-y += ATH5K_PCI
1592 config-$(call config_package,carl9170) += CARL9170
1594 config-$(call config_package,b43) += B43
1595 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
1596 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
1597 config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
1598 config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
1599 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1600 config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
1601 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1602 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1603 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1605 config-$(call config_package,b43legacy) += B43LEGACY
1606 config-y += B43LEGACY_DMA_MODE
1608 config-$(call config_package,brcmutil) += BRCMUTIL
1609 config-$(call config_package,brcmsmac) += BRCMSMAC
1610 config-$(call config_package,brcmfmac) += BRCMFMAC
1611 config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
1612 config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
1613 config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
1614 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1616 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1617 config-$(call config_package,mt7601u) += MT7601U
1618 config-y += WL_MEDIATEK
1620 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1621 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1622 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1623 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1624 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1625 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1627 config-$(call config_package,rt2400-pci) += RT2400PCI
1628 config-$(call config_package,rt2500-pci) += RT2500PCI
1629 config-$(call config_package,rt2500-usb) += RT2500USB
1630 config-$(call config_package,rt61-pci) += RT61PCI
1631 config-$(call config_package,rt73-usb) += RT73USB
1633 config-$(call config_package,rt2800-lib) += RT2800_LIB
1635 config-$(call config_package,rt2800-soc) += RT2800SOC
1636 config-$(call config_package,rt2800-pci) += RT2800PCI
1637 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1639 config-$(call config_package,rt2800-usb) += RT2800USB
1640 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX
1642 config-$(call config_package,iwl-legacy) += IWLEGACY
1643 config-$(call config_package,iwl3945) += IWL3945
1644 config-$(call config_package,iwl4965) += IWL4965
1645 config-$(call config_package,iwlagn) += IWLWIFI IWLDVM
1647 config-$(call config_package,net-libipw) += LIBIPW
1648 config-$(call config_package,net-ipw2100) += IPW2100
1649 config-$(call config_package,net-ipw2200) += IPW2200
1651 config-$(call config_package,p54-common) += P54_COMMON
1652 config-$(call config_package,p54-pci) += P54_PCI
1653 config-$(call config_package,p54-usb) += P54_USB
1654 config-$(call config_package,p54-spi) += P54_SPI
1656 config-$(call config_package,net-hermes) += HERMES
1657 config-$(call config_package,net-hermes-pci) += PCI_HERMES
1658 config-$(call config_package,net-hermes-plx) += PLX_HERMES
1659 config-$(call config_package,net-hermes-pcmcia) += PCMCIA_HERMES
1660 config-y += HERMES_PRISM
1662 config-$(call config_package,adm8211) += ADM8211
1663 config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
1664 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1665 config-$(call config_package,mwl8k) += MWL8K
1666 config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
1667 config-$(call config_package,rtl8180) += RTL8180
1668 config-$(call config_package,rtl8187) += RTL8187
1669 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1670 config-$(call config_package,wl12xx) += WL12XX
1671 config-$(call config_package,wl18xx) += WL18XX
1672 config-y += WL_TI WILINK_PLATFORM_DATA
1673 config-$(call config_package,zd1211rw) += ZD1211RW
1675 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1676 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1677 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1678 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1679 config-$(call config_package,rtl8192ce) += RTL8192CE
1680 config-$(call config_package,rtl8192se) += RTL8192SE
1681 config-$(call config_package,rtl8192de) += RTL8192DE
1682 config-$(call config_package,rtl8192cu) += RTL8192CU
1683 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1685 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1687 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1688 CROSS_COMPILE="$(KERNEL_CROSS)" \
1689 ARCH="$(LINUX_KARCH)" \
1690 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include" \
1691 KLIB_BUILD="$(LINUX_DIR)" \
1693 KLIB=$(TARGET_MODULES_DIR) \
1694 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1695 KBUILD_LDFLAGS_MODULE_PREREQ=
1697 ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
1702 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1706 define mac80211_config
1707 $(call ConfigVars,m)$(call ConfigVars,y)
1709 $(eval $(call shexport,mac80211_config))
1711 define Build/Prepare
1712 rm -rf $(PKG_BUILD_DIR)
1713 mkdir -p $(PKG_BUILD_DIR)
1716 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1717 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1718 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1719 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
1720 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE)
1721 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_MT7601U_FW_SOURCE)
1723 $(PKG_BUILD_DIR)/include/linux/ssb \
1724 $(PKG_BUILD_DIR)/include/linux/bcma \
1725 $(PKG_BUILD_DIR)/include/net/bluetooth
1728 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1729 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1730 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1731 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1732 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1733 $(PKG_BUILD_DIR)/include/net/ieee80211.h
1735 echo 'compat-wireless-
$(PKG_VERSION
)-$(PKG_RELEASE
)-$(REVISION
)' > $(PKG_BUILD_DIR)/compat_version
1736 $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
1739 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1740 define Build/Compile/kmod
1741 rm -rf $(PKG_BUILD_DIR)/modules
1742 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1746 define Build/Configure
1747 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1748 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1749 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1752 define Build/Compile
1753 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1754 $(MAKE) $(MAKE_OPTS) allnoconfig
1755 $(call Build/Compile/kmod)
1758 define Build/InstallDev
1760 $(1)/usr/include/mac80211 \
1761 $(1)/usr/include/mac80211-backport \
1762 $(1)/usr/include/mac80211/ath \
1763 $(1)/usr/include/net/mac80211
1764 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1765 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1766 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1767 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1768 rm -f $(1)/usr/include/mac80211-backport/linux/module.h
1771 define KernelPackage/libertas-usb/install
1772 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1774 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8388_v9.bin \
1775 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8682.bin \
1776 $(1)/lib/firmware/libertas/
1779 define KernelPackage/libertas-sdio/install
1780 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1782 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385_helper.bin \
1783 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385.bin \
1784 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9_helper.bin \
1785 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9.bin \
1786 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688_helper.bin \
1787 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688.bin \
1788 $(1)/lib/firmware/libertas
1791 define KernelPackage/cfg80211/install
1792 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1793 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1794 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1797 define KernelPackage/p54-pci/install
1798 $(INSTALL_DIR) $(1)/lib/firmware
1799 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
1802 define KernelPackage/p54-usb/install
1803 $(INSTALL_DIR) $(1)/lib/firmware
1804 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
1807 define KernelPackage/p54-spi/install
1808 $(INSTALL_DIR) $(1)/lib/firmware
1809 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
1812 define KernelPackage/rt61-pci/install
1813 $(INSTALL_DIR) $(1)/lib/firmware
1815 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561.bin \
1816 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561s.bin \
1817 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2661.bin \
1821 define KernelPackage/rt73-usb/install
1822 $(INSTALL_DIR) $(1)/lib/firmware
1823 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt73.bin $(1)/lib/firmware/
1826 define KernelPackage/rt2800-pci/install
1827 $(INSTALL_DIR) $(1)/lib/firmware
1829 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
1830 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
1834 define KernelPackage/rt2800-usb/install
1835 $(INSTALL_DIR) $(1)/lib/firmware
1836 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/
1839 define KernelPackage/wl12xx/install
1840 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1842 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-mr.bin \
1843 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-plt.bin \
1844 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-sr.bin \
1845 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl1271-nvs.bin \
1846 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-mr.bin \
1847 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-plt.bin \
1848 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-sr.bin \
1849 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-nvs.bin \
1850 $(1)/lib/firmware/ti-connectivity
1853 define KernelPackage/wl18xx/install
1854 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1856 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-conf.bin \
1857 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-fw-3.bin \
1858 $(1)/lib/firmware/ti-connectivity
1861 define KernelPackage/zd1211rw/install
1862 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1863 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1866 define KernelPackage/carl9170/install
1867 $(INSTALL_DIR) $(1)/lib/firmware
1868 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/carl9170-1.fw $(1)/lib/firmware
1871 define KernelPackage/ath9k-htc/install
1872 $(INSTALL_DIR) $(1)/lib/firmware
1874 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
1875 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
1879 define KernelPackage/ath10k/install
1880 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
1882 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1883 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1884 ifeq ($(CONFIG_ATH10K_API2_FW),y)
1886 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.1/firmware-2.bin_10.1.467.2-1 \
1887 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
1890 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.2.4/untested/firmware-5.bin_10.2.4.70-2 \
1891 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin
1895 define KernelPackage/mt7601u/install
1896 $(INSTALL_DIR) $(1)/lib/firmware
1898 $(PKG_BUILD_DIR)/$(PKG_MT7601U_FW_NAME)_$(PKG_MT7601U_FW_VERSION)/mcu/bin/MT7601.bin \
1899 $(1)/lib/firmware/mt7601u.bin
1902 define KernelPackage/mwl8k/install
1903 $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
1905 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366_ap-3.fw \
1906 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366.fw \
1907 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8366.fw \
1908 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8687.fw \
1909 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8687.fw \
1910 $(1)/lib/firmware/mwl8k/
1913 define KernelPackage/mwifiex-pcie/install
1914 $(INSTALL_DIR) $(1)/lib/firmware/mrvl
1916 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mrvl/pcie8897_uapsta.bin \
1917 $(1)/lib/firmware/mrvl/
1920 define KernelPackage/net-ipw2100/install
1921 $(INSTALL_DIR) $(1)/lib/firmware
1922 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1925 define KernelPackage/net-ipw2200/install
1926 $(INSTALL_DIR) $(1)/lib/firmware
1927 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1930 define KernelPackage/iwlagn/install
1931 $(INSTALL_DIR) $(1)/lib/firmware
1932 ifneq ($(CONFIG_IWL5000_FW),)
1933 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5000-5.ucode $(1)/lib/firmware
1935 ifneq ($(CONFIG_IWL5150_FW),)
1936 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
1938 ifneq ($(CONFIG_IWL1000_FW),)
1939 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
1941 ifneq ($(CONFIG_IWL6000_FW),)
1942 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
1944 ifneq ($(CONFIG_IWL6050_FW),)
1945 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
1947 ifneq ($(CONFIG_IWL6005_FW),)
1948 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
1950 ifneq ($(CONFIG_IWL6030_FW),)
1951 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
1953 ifneq ($(CONFIG_IWL7260_FW),)
1954 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-9.ucode $(1)/lib/firmware
1956 ifneq ($(CONFIG_IWL7265_FW),)
1957 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7265-9.ucode $(1)/lib/firmware
1959 ifneq ($(CONFIG_IWL100_FW),)
1960 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
1962 ifneq ($(CONFIG_IWL2000_FW),)
1963 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
1965 ifneq ($(CONFIG_IWL2030_FW),)
1966 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
1968 ifneq ($(CONFIG_IWL105_FW),)
1969 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
1971 ifneq ($(CONFIG_IWL135_FW),)
1972 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
1974 ifneq ($(CONFIG_IWL3160_FW),)
1975 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3160-9.ucode $(1)/lib/firmware
1979 define KernelPackage/iwl3945/install
1980 $(INSTALL_DIR) $(1)/lib/firmware
1981 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3945-2.ucode $(1)/lib/firmware
1984 define KernelPackage/iwl4965/install
1985 $(INSTALL_DIR) $(1)/lib/firmware
1986 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-4965-2.ucode $(1)/lib/firmware
1989 define KernelPackage/b43/install
1990 rm -rf $(1)/lib/firmware/
1991 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1992 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1994 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1996 $(INSTALL_DIR) $(1)/lib/firmware/
1997 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1998 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1999 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
2000 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
2001 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
2002 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
2004 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
2006 ifneq ($(CONFIG_B43_FW_SQUASH),)
2007 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
2011 define KernelPackage/b43legacy/install
2012 $(INSTALL_DIR) $(1)/lib/firmware/
2013 b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
2014 ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),)
2015 b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
2019 define KernelPackage/brcmsmac/install
2020 $(INSTALL_DIR) $(1)/lib/firmware/brcm
2021 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
2022 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
2023 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
2026 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
2027 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
2028 $(1)/lib/firmware/brcm/
2032 define KernelPackage/brcmfmac/install
2033 $(INSTALL_DIR) $(1)/lib/firmware/brcm
2034 ifneq ($(CONFIG_BRCMFMAC_USB),)
2036 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
2037 $(1)/lib/firmware/brcm/
2039 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43143.bin \
2040 $(1)/lib/firmware/brcm/
2042 ifneq ($(CONFIG_BRCMFMAC_PCIE),)
2044 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43602-pcie.ap.bin \
2045 $(1)/lib/firmware/brcm/brcmfmac43602-pcie.bin
2049 $(eval $(call KernelPackage,adm8211))
2050 $(eval $(call KernelPackage,ath5k))
2051 $(eval $(call KernelPackage,lib80211))
2052 $(eval $(call KernelPackage,libertas-usb))
2053 $(eval $(call KernelPackage,libertas-sdio))
2054 $(eval $(call KernelPackage,cfg80211))
2055 $(eval $(call KernelPackage,mac80211))
2056 $(eval $(call KernelPackage,p54-common))
2057 $(eval $(call KernelPackage,p54-pci))
2058 $(eval $(call KernelPackage,p54-usb))
2059 $(eval $(call KernelPackage,p54-spi))
2060 $(eval $(call KernelPackage,rt2x00-lib))
2061 $(eval $(call KernelPackage,rt2x00-mmio))
2062 $(eval $(call KernelPackage,rt2x00-pci))
2063 $(eval $(call KernelPackage,rt2x00-usb))
2064 $(eval $(call KernelPackage,rt2800-lib))
2065 $(eval $(call KernelPackage,rt2400-pci))
2066 $(eval $(call KernelPackage,rt2500-pci))
2067 $(eval $(call KernelPackage,rt2500-usb))
2068 $(eval $(call KernelPackage,rt61-pci))
2069 $(eval $(call KernelPackage,rt73-usb))
2070 $(eval $(call KernelPackage,rt2800-mmio))
2071 $(eval $(call KernelPackage,rt2800-soc))
2072 $(eval $(call KernelPackage,rt2800-pci))
2073 $(eval $(call KernelPackage,rt2800-usb))
2074 $(eval $(call KernelPackage,rtl8180))
2075 $(eval $(call KernelPackage,rtl8187))
2076 $(eval $(call KernelPackage,rtlwifi))
2077 $(eval $(call KernelPackage,rtlwifi-pci))
2078 $(eval $(call KernelPackage,rtlwifi-usb))
2079 $(eval $(call KernelPackage,rtl8192c-common))
2080 $(eval $(call KernelPackage,rtl8192ce))
2081 $(eval $(call KernelPackage,rtl8192se))
2082 $(eval $(call KernelPackage,rtl8192de))
2083 $(eval $(call KernelPackage,rtl8192cu))
2084 $(eval $(call KernelPackage,zd1211rw))
2085 $(eval $(call KernelPackage,mac80211-hwsim))
2086 $(eval $(call KernelPackage,mt7601u))
2087 $(eval $(call KernelPackage,ath9k-common))
2088 $(eval $(call KernelPackage,ath9k))
2089 $(eval $(call KernelPackage,ath9k-htc))
2090 $(eval $(call KernelPackage,ath10k))
2091 $(eval $(call KernelPackage,ath))
2092 $(eval $(call KernelPackage,carl9170))
2093 $(eval $(call KernelPackage,b43))
2094 $(eval $(call KernelPackage,b43legacy))
2095 $(eval $(call KernelPackage,brcmutil))
2096 $(eval $(call KernelPackage,brcmsmac))
2097 $(eval $(call KernelPackage,brcmfmac))
2098 $(eval $(call KernelPackage,net-libipw))
2099 $(eval $(call KernelPackage,net-ipw2100))
2100 $(eval $(call KernelPackage,net-ipw2200))
2101 $(eval $(call KernelPackage,iwlagn))
2102 $(eval $(call KernelPackage,iwl-legacy))
2103 $(eval $(call KernelPackage,iwl4965))
2104 $(eval $(call KernelPackage,iwl3945))
2105 $(eval $(call KernelPackage,mwl8k))
2106 $(eval $(call KernelPackage,mwifiex-pcie))
2107 $(eval $(call KernelPackage,net-hermes))
2108 $(eval $(call KernelPackage,net-hermes-pci))
2109 $(eval $(call KernelPackage,net-hermes-plx))
2110 $(eval $(call KernelPackage,net-hermes-pcmcia))
2111 $(eval $(call KernelPackage,wlcore))
2112 $(eval $(call KernelPackage,wl12xx))
2113 $(eval $(call KernelPackage,wl18xx))