2 # Copyright (C) 2007-2014 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-03-09
15 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
16 PKG_BACKPORT_VERSION
:=
17 PKG_MD5SUM
:=6d4b04e4ce8a1f54dabfb04f4709453c
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 \
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
:=http
://linuxwireless.org
/
62 MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
63 DEPENDS
:=@
(!TARGET_avr32||BROKEN
)
66 define KernelPackage
/cfg80211
67 $(call KernelPackage
/mac80211
/Default
)
68 TITLE
:=cfg80211
- wireless configuration API
71 $(PKG_BUILD_DIR
)/compat
/compat.ko \
72 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.ko
75 define KernelPackage
/cfg80211
/description
76 cfg80211 is the Linux wireless LAN
(802.11) configuration API.
79 define KernelPackage
/mac80211
80 $(call KernelPackage
/mac80211
/Default
)
81 TITLE
:=Linux
802.11 Wireless Networking Stack
82 DEPENDS
+= +kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-cfg80211
+hostapd-common
85 FILES
:= $(PKG_BUILD_DIR
)/net
/mac80211
/mac80211.ko
89 define KernelPackage
/mac80211
/config
90 if PACKAGE_kmod-mac80211
92 config PACKAGE_MAC80211_DEBUGFS
93 bool
"Export mac80211 internals in DebugFS"
94 select KERNEL_DEBUG_FS
97 Select this to see extensive information about
98 the internal state of mac80211 in debugfs.
100 config PACKAGE_MAC80211_MESH
101 bool
"Enable 802.11s mesh support"
107 define KernelPackage
/mac80211
/description
108 Generic IEEE
802.11 Networking Stack
(mac80211
)
111 PKG_LINUX_FIRMWARE_NAME
:=linux-firmware
112 PKG_LINUX_FIRMWARE_VERSION
:=7f388b4885cf64d6b7833612052d20d4197af96f
113 PKG_LINUX_FIRMWARE_SOURCE
:=$(PKG_LINUX_FIRMWARE_NAME
)-2014-06-04-$(PKG_LINUX_FIRMWARE_VERSION
).
tar.bz2
114 PKG_LINUX_FIRMWARE_PROTO
:=git
115 PKG_LINUX_FIRMWARE_SOURCE_URL
:=https
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/firmware
/linux-firmware.git
116 PKG_LINUX_FIRMWARE_SUBDIR
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
)
117 #PKG_LINUX_FIRMWARE_MIRROR_MD5SUM:=e219333f01835c6e556875a9e0deb3f9
119 define Download
/linux-firmware
120 FILE
:=$(PKG_LINUX_FIRMWARE_SOURCE
)
121 URL
:=$(PKG_LINUX_FIRMWARE_SOURCE_URL
)
122 MD5SUM
:=$(PKG_LINUX_FIRMWARE_MD5SUM
)
123 PROTO
:=$(PKG_LINUX_FIRMWARE_PROTO
)
124 VERSION
:=$(PKG_LINUX_FIRMWARE_VERSION
)
125 SUBDIR
:=$(PKG_LINUX_FIRMWARE_SUBDIR
)
126 MIRROR_MD5SUM
:=$(PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
)
128 $(eval
$(call Download
,linux-firmware
))
130 PKG_ATH10K_LINUX_FIRMWARE_NAME
:=ath10k-firmware
131 PKG_ATH10K_LINUX_FIRMWARE_VERSION
:=da0f85d924226ee30c46e037120621c9e192b39e
132 PKG_ATH10K_LINUX_FIRMWARE_SOURCE
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
).
tar.bz2
133 PKG_ATH10K_LINUX_FIRMWARE_PROTO
:=git
134 PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
:=https
://github.com
/kvalo
/ath10k-firmware.git
135 PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
136 #PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM:=?
138 define Download
/ath10k-firmware
139 FILE
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE
)
140 URL
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
)
141 PROTO
:=$(PKG_ATH10K_LINUX_FIRMWARE_PROTO
)
142 VERSION
:=$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
143 SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
)
144 #MIRROR_MD5SUM:=$(PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM)
146 $(eval
$(call Download
,ath10k-firmware
))
149 P54PCIFW
:=2.13.12.0.arm
150 P54USBFW
:=2.13.24.0.lm87.arm
151 P54SPIFW
:=2.13.0.0.a
.13.14.arm
153 define Download
/p54usb
155 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-usb
156 MD5SUM
:=8e8ab005a4f8f0123bcdc51bc25b47f6
158 $(eval
$(call Download
,p54usb
))
160 define Download
/p54pci
162 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-softmac
163 MD5SUM
:=ff7536af2092b1c4b21315bd103ef4c4
165 $(eval
$(call Download
,p54pci
))
167 define Download
/p54spi
169 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/stlc4560
170 MD5SUM
:=42661f8ecbadd88012807493f596081d
172 $(eval
$(call Download
,p54spi
))
174 define KernelPackage
/p54
/Default
175 $(call KernelPackage
/mac80211
/Default
)
176 TITLE
:=Prism54 Drivers
179 define KernelPackage
/p54
/description
180 Kernel module for Prism54 chipsets
(mac80211
)
183 define KernelPackage
/p54-common
184 $(call KernelPackage
/p54
/Default
)
185 DEPENDS
+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx
+kmod-mac80211
+kmod-lib-crc-ccitt
187 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54common.ko
190 define KernelPackage
/p54-pci
191 $(call KernelPackage
/p54
/Default
)
193 DEPENDS
+= @PCI_SUPPORT
+kmod-p54-common
194 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54pci.ko
195 AUTOLOAD
:=$(call AutoProbe
,p54pci
)
198 define KernelPackage
/p54-usb
199 $(call KernelPackage
/p54
/Default
)
201 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-p54-common
202 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54usb.ko
203 AUTOLOAD
:=$(call AutoProbe
,p54usb
)
206 define KernelPackage
/p54-spi
207 $(call KernelPackage
/p54
/Default
)
209 DEPENDS
+= @TARGET_omap24xx
+kmod-p54-common
210 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54spi.ko
211 AUTOLOAD
:=$(call AutoProbe
,p54spi
)
214 define KernelPackage
/rt2x00
/Default
215 $(call KernelPackage
/mac80211
/Default
)
216 TITLE
:=Ralink Drivers for RT2x00 cards
219 define KernelPackage
/rt2x00-lib
220 $(call KernelPackage
/rt2x00
/Default
)
221 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-mac80211
+kmod-lib-crc-itu-t
223 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00lib.ko
227 define KernelPackage
/rt2x00-lib
/config
228 if PACKAGE_kmod-rt2x00-lib
230 config PACKAGE_RT2X00_LIB_DEBUGFS
231 bool
"Enable rt2x00 debugfs support"
232 depends on PACKAGE_MAC80211_DEBUGFS
234 Enable creation of debugfs files for the rt2x00 drivers.
235 These debugfs files support both reading and writing of the
236 most important register types of the rt2x00 hardware.
238 config PACKAGE_RT2X00_DEBUG
239 bool
"Enable rt2x00 debug output"
241 Enable debugging output for
all rt2x00 modules
246 define KernelPackage
/rt2x00-mmio
247 $(call KernelPackage
/rt2x00
/Default
)
248 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-eeprom-93cx6
251 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00mmio.ko
254 define KernelPackage
/rt2x00-pci
255 $(call KernelPackage
/rt2x00
/Default
)
256 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-mmio
+kmod-rt2x00-lib
259 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00pci.ko
260 AUTOLOAD
:=$(call AutoProbe
,rt2x00pci
)
263 define KernelPackage
/rt2x00-usb
264 $(call KernelPackage
/rt2x00
/Default
)
265 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-lib
+kmod-usb-core
268 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00usb.ko
269 AUTOLOAD
:=$(call AutoProbe
,rt2x00usb
)
272 define KernelPackage
/rt2800-lib
273 $(call KernelPackage
/rt2x00
/Default
)
274 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-lib-crc-ccitt
+@DRIVER_11N_SUPPORT
277 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800lib.ko
280 define KernelPackage
/rt2400-pci
281 $(call KernelPackage
/rt2x00
/Default
)
282 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
284 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2400pci.ko
285 AUTOLOAD
:=$(call AutoProbe
,rt2400pci
)
288 define KernelPackage
/rt2500-pci
289 $(call KernelPackage
/rt2x00
/Default
)
290 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
292 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500pci.ko
293 AUTOLOAD
:=$(call AutoProbe
,rt2500pci
)
296 define KernelPackage
/rt2500-usb
297 $(call KernelPackage
/rt2x00
/Default
)
298 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
300 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500usb.ko
301 AUTOLOAD
:=$(call AutoProbe
,rt2500usb
)
304 define KernelPackage
/rt61-pci
305 $(call KernelPackage
/rt2x00
/Default
)
306 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
308 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt61pci.ko
309 AUTOLOAD
:=$(call AutoProbe
,rt61pci
)
312 define KernelPackage
/rt73-usb
313 $(call KernelPackage
/rt2x00
/Default
)
314 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
316 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt73usb.ko
317 AUTOLOAD
:=$(call AutoProbe
,rt73usb
)
320 define KernelPackage
/rt2800-mmio
321 $(call KernelPackage
/rt2x00
/Default
)
322 TITLE
+= (RT28xx
/RT3xxx MMIO
)
323 DEPENDS
+= +kmod-rt2800-lib
+kmod-rt2x00-mmio
325 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800mmio.ko
328 define KernelPackage
/rt2800-soc
329 $(call KernelPackage
/rt2x00
/Default
)
330 DEPENDS
+= @
(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620
) +kmod-rt2800-mmio
+kmod-rt2800-lib
331 TITLE
+= (RT28xx
/RT3xxx SoC
)
333 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00soc.ko \
334 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800soc.ko
335 AUTOLOAD
:=$(call AutoProbe
,rt2800soc
)
338 define KernelPackage
/rt2800-pci
339 $(call KernelPackage
/rt2x00
/Default
)
340 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
+kmod-rt2800-lib
+kmod-rt2800-mmio
342 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800pci.ko
343 AUTOLOAD
:=$(call AutoProbe
,rt2800pci
)
346 define KernelPackage
/rt2800-usb
347 $(call KernelPackage
/rt2x00
/Default
)
348 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
+kmod-rt2800-lib
+kmod-lib-crc-ccitt
350 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800usb.ko
351 AUTOLOAD
:=$(call AutoProbe
,rt2800usb
)
354 define KernelPackage
/rtl818x
/Default
355 $(call KernelPackage
/mac80211
/Default
)
356 TITLE
:=Realtek Drivers for RTL818x devices
357 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/rtl8187
358 DEPENDS
+= +kmod-eeprom-93cx6
+kmod-mac80211
361 define KernelPackage
/rtl8180
362 $(call KernelPackage
/rtl818x
/Default
)
363 DEPENDS
+= @PCI_SUPPORT
364 TITLE
+= (RTL8180 PCI
)
365 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8180
/rtl818x_pci.ko
366 AUTOLOAD
:=$(call AutoProbe
,rtl818x_pci
)
369 define KernelPackage
/rtl8187
370 $(call KernelPackage
/rtl818x
/Default
)
371 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
372 TITLE
+= (RTL8187 USB
)
373 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8187
/rtl8187.ko
374 AUTOLOAD
:=$(call AutoProbe
,rtl8187
)
377 define KernelPackage
/rtlwifi
/config
378 config PACKAGE_RTLWIFI_DEBUG
379 bool
"Realtek wireless debugging"
380 depends on PACKAGE_kmod-rtlwifi
382 Say Y
, if you want to debug realtek wireless drivers.
386 define KernelPackage
/rtlwifi
387 $(call KernelPackage
/mac80211
/Default
)
388 TITLE
:=Realtek common driver part
389 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT
) +kmod-mac80211
+@DRIVER_11N_SUPPORT
390 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtlwifi.ko
394 define KernelPackage
/rtlwifi-pci
395 $(call KernelPackage
/mac80211
/Default
)
396 TITLE
:=Realtek common driver part
(PCI support
)
397 DEPENDS
+= @PCI_SUPPORT
+kmod-rtlwifi
398 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_pci.ko
399 AUTOLOAD
:=$(call AutoProbe
,rtl_pci
)
403 define KernelPackage
/rtlwifi-usb
404 $(call KernelPackage
/mac80211
/Default
)
405 TITLE
:=Realtek common driver part
(USB support
)
406 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-rtlwifi
407 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_usb.ko
408 AUTOLOAD
:=$(call AutoProbe
,rtl_usb
)
412 define KernelPackage
/rtl8192c-common
413 $(call KernelPackage
/mac80211
/Default
)
414 TITLE
:=Realtek RTL8192CE
/RTL8192CU common support module
415 DEPENDS
+= +kmod-rtlwifi
416 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192c
/rtl8192c-common.ko
420 define KernelPackage
/rtl8192ce
421 $(call KernelPackage
/mac80211
/Default
)
422 TITLE
:=Realtek RTL8192CE
/RTL8188CE support
423 DEPENDS
+= +kmod-rtlwifi-pci
+kmod-rtl8192c-common
424 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192ce
/rtl8192ce.ko
425 AUTOLOAD
:=$(call AutoProbe
,rtl8192ce
)
428 define KernelPackage
/rtl8192ce
/install
429 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
430 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfw.bin
$(1)/lib
/firmware
/rtlwifi
431 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfwU.bin
$(1)/lib
/firmware
/rtlwifi
432 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfwU_B.bin
$(1)/lib
/firmware
/rtlwifi
435 define KernelPackage
/rtl8192se
436 $(call KernelPackage
/mac80211
/Default
)
437 TITLE
:=Realtek RTL8192SE
/RTL8191SE support
438 DEPENDS
+= +kmod-rtlwifi-pci
439 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192se
/rtl8192se.ko
440 AUTOLOAD
:=$(call AutoProbe
,rtl8192se
)
443 define KernelPackage
/rtl8192se
/install
444 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
445 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192sefw.bin
$(1)/lib
/firmware
/rtlwifi
448 define KernelPackage
/rtl8192de
449 $(call KernelPackage
/mac80211
/Default
)
450 TITLE
:=Realtek RTL8192DE
/RTL8188DE support
451 DEPENDS
+= +kmod-rtlwifi-pci
452 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192de
/rtl8192de.ko
453 AUTOLOAD
:=$(call AutoProbe
,rtl8192de
)
456 define KernelPackage
/rtl8192de
/install
457 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
458 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192defw.bin
$(1)/lib
/firmware
/rtlwifi
461 define KernelPackage
/rtl8192cu
462 $(call KernelPackage
/mac80211
/Default
)
463 TITLE
:=Realtek RTL8192CU
/RTL8188CU support
464 DEPENDS
+= +kmod-rtlwifi-usb
+kmod-rtl8192c-common
465 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192cu
/rtl8192cu.ko
466 AUTOLOAD
:=$(call AutoProbe
,rtl8192cu
)
469 define KernelPackage
/rtl8192cu
/install
470 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
471 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw.bin
$(1)/lib
/firmware
/rtlwifi
472 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_A.bin
$(1)/lib
/firmware
/rtlwifi
473 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_B.bin
$(1)/lib
/firmware
/rtlwifi
474 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_TMSC.bin
$(1)/lib
/firmware
/rtlwifi
477 ZD1211FW_NAME
:=zd1211-firmware
478 ZD1211FW_VERSION
:=1.4
479 define Download
/zd1211rw
480 FILE
:=$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
482 MD5SUM
:=19f28781d76569af8551c9d11294c870
484 $(eval
$(call Download
,zd1211rw
))
486 define KernelPackage
/zd1211rw
487 $(call KernelPackage
/mac80211
/Default
)
488 TITLE
:=Zydas ZD1211 support
489 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-mac80211
490 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/zd1211rw
/zd1211rw.ko
491 AUTOLOAD
:=$(call AutoProbe
,zd1211rw
)
494 define KernelPackage
/adm8211
495 $(call KernelPackage
/mac80211
/Default
)
496 TITLE
:=ADMTek
8211 support
497 DEPENDS
+=@PCI_SUPPORT
+kmod-mac80211
+kmod-eeprom-93cx6
498 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/adm8211.ko
499 AUTOLOAD
:=$(call AutoProbe
,adm8211
)
502 define KernelPackage
/ath
/config
505 bool
"Force Atheros drivers to respect the user's regdomain settings"
507 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
508 the regulatory limits and the user is only allowed to restrict the settings
509 even further, even if the country allows frequencies or power levels that
510 are forbidden by the EEPROM settings.
512 Select this option if you want the driver to respect the user's decision about
515 config PACKAGE_ATH_DEBUG
516 bool
"Atheros wireless debugging"
518 Say Y
, if you want to debug atheros wireless drivers.
519 Right now only ath9k makes use of this.
521 config PACKAGE_ATH_DFS
522 bool
"Enable DFS support"
525 Dynamic frequency selection
(DFS
) is required for most of the
5 GHz band
526 channels in Europe
, US
, and Japan.
528 Select this option if you want to use such channels.
533 define KernelPackage
/ath
534 $(call KernelPackage
/mac80211
/Default
)
535 TITLE
:=Atheros common driver part
536 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25
+kmod-mac80211
537 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.ko
541 define KernelPackage
/ath
/description
542 This module contains some common parts needed by Atheros Wireless drivers.
545 define KernelPackage
/ath5k
546 $(call KernelPackage
/mac80211
/Default
)
547 TITLE
:=Atheros
5xxx wireless cards support
548 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath5k
549 DEPENDS
+= @PCI_SUPPORT||@TARGET_ath25
+kmod-ath
550 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.ko
551 AUTOLOAD
:=$(call AutoProbe
,ath5k
)
554 define KernelPackage
/ath5k
/description
555 This module adds support for wireless adapters based on
556 Atheros
5xxx chipset.
559 define KernelPackage
/ath9k-common
560 $(call KernelPackage
/mac80211
/Default
)
561 TITLE
:=Atheros
802.11n wireless devices
(common code for ath9k and ath9k_htc
)
562 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
563 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx
+kmod-ath
+@DRIVER_11N_SUPPORT
+@KERNEL_RELAY
565 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.ko \
566 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.ko
569 define KernelPackage
/ath9k
570 $(call KernelPackage
/mac80211
/Default
)
571 TITLE
:=Atheros
802.11n PCI wireless cards support
572 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
573 DEPENDS
+= @PCI_SUPPORT||TARGET_ar71xx
+kmod-ath9k-common
575 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.ko
576 AUTOLOAD
:=$(call AutoProbe
,ath9k
)
579 define KernelPackage
/ath9k
/description
580 This module adds support for wireless adapters based on
581 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
584 define KernelPackage
/ath9k
/config
586 config ATH9K_SUPPORT_PCOEM
587 bool
"Support chips used in PC OEM cards"
588 depends on PACKAGE_kmod-ath9k
592 define KernelPackage
/ath9k-htc
593 $(call KernelPackage
/mac80211
/Default
)
594 TITLE
:=Atheros
802.11n USB device support
595 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
596 DEPENDS
+= @USB_SUPPORT
+kmod-ath9k-common
+kmod-usb-core
598 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_htc.ko
599 AUTOLOAD
:=$(call AutoProbe
,ath9k_htc
)
602 define KernelPackage
/ath9k-htc
/description
603 This module adds support for wireless adapters based on
604 Atheros USB AR9271 and AR7010 family of chipsets.
607 define KernelPackage
/ath10k
608 $(call KernelPackage
/mac80211
/Default
)
609 TITLE
:=Atheros
802.11ac wireless cards support
610 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/ath10k
611 DEPENDS
+= @PCI_SUPPORT
+kmod-ath
+@DRIVER_11N_SUPPORT
613 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_core.ko \
614 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_pci.ko
615 AUTOLOAD
:=$(call AutoLoad
,55,ath10k_core ath10k_pci
)
618 define KernelPackage
/ath10k
/description
619 This module adds support for wireless adapters based on
620 Atheros IEEE
802.11ac family of chipsets. For now only
624 define KernelPackage
/ath10k
/config
625 if PACKAGE_kmod-ath10k
628 bool
"Firmware optimized for STA operation"
631 Use the ath10k firmware optimized for wireless client instead
632 of access point operation.
637 define KernelPackage
/carl9170
638 $(call KernelPackage
/mac80211
/Default
)
639 TITLE
:=Driver for Atheros AR9170 USB sticks
640 DEPENDS
:=@USB_SUPPORT
+kmod-mac80211
+kmod-ath
+kmod-usb-core
+kmod-input-core
+@DRIVER_11N_SUPPORT
641 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/carl9170
/carl9170.ko
642 AUTOLOAD
:=$(call AutoProbe
,carl9170
)
645 define KernelPackage
/lib80211
646 $(call KernelPackage
/mac80211
/Default
)
647 TITLE
:=802.11 Networking stack
648 DEPENDS
:=+kmod-cfg80211
650 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211.ko \
651 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_wep.ko \
652 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_ccmp.ko \
653 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_tkip.ko
654 AUTOLOAD
:=$(call AutoProbe
, \
657 lib80211_crypt_ccmp \
658 lib80211_crypt_tkip \
662 define KernelPackage
/lib80211
/description
663 Kernel modules for
802.11 Networking stack
667 - lib80211_crypt_tkip
668 - lib80211_crytp_ccmp
671 define KernelPackage
/libertas-usb
672 $(call KernelPackage
/mac80211
/Default
)
673 DEPENDS
+= @USB_SUPPORT
+kmod-cfg80211
+kmod-usb-core
+kmod-lib80211
+@DRIVER_WEXT_SUPPORT
674 TITLE
:=Marvell
88W8015 Wireless Driver
676 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
677 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/usb8xxx.ko
678 AUTOLOAD
:=$(call AutoProbe
,libertas usb8xxx
)
681 define KernelPackage
/libertas-sdio
682 $(call KernelPackage
/mac80211
/Default
)
683 DEPENDS
+= +kmod-cfg80211
+kmod-lib80211
+kmod-mmc
+@DRIVER_WEXT_SUPPORT @
!TARGET_uml
684 TITLE
:=Marvell
88W8686 Wireless Driver
686 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
687 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas_sdio.ko
688 AUTOLOAD
:=$(call AutoProbe
,libertas libertas_sdio
)
691 define KernelPackage
/mac80211-hwsim
692 $(call KernelPackage
/mac80211
/Default
)
693 TITLE
:=mac80211 HW simulation device
694 DEPENDS
+= +kmod-mac80211
+@DRIVER_11N_SUPPORT
695 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mac80211_hwsim.ko
696 AUTOLOAD
:=$(call AutoProbe
,mac80211_hwsim
)
699 define KernelPackage
/net-libipw
700 $(call KernelPackage
/mac80211
/Default
)
701 TITLE
:=libipw for ipw2100 and ipw2200
702 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic
+kmod-lib80211
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
703 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.ko
704 AUTOLOAD
:=$(call AutoProbe
,libipw
)
707 define KernelPackage
/net-libipw
/description
708 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
711 IPW2100_NAME
:=ipw2100-fw
714 define Download
/net-ipw2100
715 URL
:=http
://bughost.org
/firmware
/
716 FILE
:=$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
717 MD5SUM
=46aa75bcda1a00efa841f9707bbbd113
719 $(eval
$(call Download
,net-ipw2100
))
721 define KernelPackage
/net-ipw2100
722 $(call KernelPackage
/mac80211
/Default
)
723 TITLE
:=Intel IPW2100 driver
724 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
725 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.ko
726 AUTOLOAD
:=$(call AutoProbe
,ipw2100
)
729 define KernelPackage
/net-ipw2100
/description
730 Kernel support for Intel IPW2100
735 IPW2200_NAME
:=ipw2200-fw
738 define Download
/net-ipw2200
739 URL
:=http
://bughost.org
/firmware
/
740 FILE
:=$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
741 MD5SUM
=eaba788643c7cc7483dd67ace70f6e99
743 $(eval
$(call Download
,net-ipw2200
))
745 define KernelPackage
/net-ipw2200
746 $(call KernelPackage
/mac80211
/Default
)
747 TITLE
:=Intel IPW2200 driver
748 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
749 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.ko
750 AUTOLOAD
:=$(call AutoProbe
,ipw2200
)
753 define KernelPackage
/net-ipw2200
/description
754 Kernel support for Intel IPW2200
760 define KernelPackage
/net-hermes
761 $(call KernelPackage
/mac80211
/Default
)
762 TITLE
:=Hermes
802.11b chipset support
763 DEPENDS
:=@PCI_SUPPORT||PCMCIA_SUPPORT
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
764 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco.ko
765 AUTOLOAD
:=$(call AutoProbe
,orinoco
)
768 define KernelPackage
/net-hermes
/description
769 Kernel support for Hermes
802.11b chipsets
772 define KernelPackage
/net-hermes-pci
773 $(call KernelPackage
/mac80211
/Default
)
774 TITLE
:=Intersil Prism
2.5 PCI support
775 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
776 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_pci.ko
777 AUTOLOAD
:=$(call AutoProbe
,orinoco_pci
)
780 define KernelPackage
/net-hermes-pci
/description
781 Kernel modules for Intersil Prism
2.5 PCI support
784 define KernelPackage
/net-hermes-plx
785 $(call KernelPackage
/mac80211
/Default
)
786 TITLE
:=PLX9052 based PCI adaptor
787 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
788 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_plx.ko
789 AUTOLOAD
:=$(call AutoProbe
,orinoco_plx
)
792 define KernelPackage
/net-hermes-plx
/description
793 Kernel modules for Hermes in PLX9052 based PCI adaptors
796 define KernelPackage
/net-hermes-pcmcia
797 $(call KernelPackage
/mac80211
/Default
)
798 TITLE
:=Hermes based PCMCIA adaptors
799 DEPENDS
:=@PCMCIA_SUPPORT
+kmod-net-hermes @BROKEN
800 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_cs.ko
801 AUTOLOAD
:=$(call AutoProbe
,orinoco_cs
)
804 define KernelPackage
/net-hermes-pcmcia
/description
805 Kernel modules for Hermes based PCMCIA adaptors
808 define KernelPackage
/iwlagn
809 $(call KernelPackage
/mac80211
/Default
)
810 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
+@DRIVER_11N_SUPPORT
811 TITLE
:=Intel AGN Wireless support
813 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/iwlwifi.ko \
814 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/dvm
/iwldvm.ko
815 AUTOLOAD
:=$(call AutoProbe
,iwlwifi iwldvm
)
819 define KernelPackage
/iwlagn
/description
820 iwlagn kernel module for Intel
5000/5150/1000/6000/6050/6005/6030/100 support
823 define KernelPackage
/iwlagn
/config
824 if PACKAGE_kmod-iwlagn
827 bool
"Intel 5000 Firmware"
830 Download and
install firmware for
:
831 Intel Wireless WiFi
5100AGN
, 5300AGN
, and
5350AGN
834 bool
"Intel 5150 Firmware"
837 Download and
install firmware for
:
838 Intel Wireless WiFi
5150AGN
841 bool
"Intel 1000 Firmware"
844 Download and
install firmware for
:
845 Intel Centrino Wireless-N
1000
848 bool
"Intel 6000 Firmware"
851 Download and
install firmware for
:
852 Intel Centrino Ultimate-N
6300 and Advanced-N
6200
855 bool
"Intel 6050 Firmware"
858 Download and
install firmware for
:
859 Intel Centrino Advanced-N
+ WiMAX
6250 and Wireless-N
+ WiMAX
6150
862 bool
"Intel 6005 Firmware"
865 Download and
install firmware for
:
866 Intel Centrino Advanced-N
6205
869 bool
"Intel 6030 Firmware"
872 Download and
install firmware for
:
873 Intel Centrino Advanced-N
6230, Wireless-N
1030, Wireless-N
130 and Advanced-N
6235
876 bool
"Intel 7260 Firmware"
879 Download and
install firmware for
:
880 Intel Dual Band Wireless-N
7260 and Intel Dual Band Wireless-AC
7260
883 bool
"Intel 7265 Firmware"
886 Download and
install firmware for
:
890 bool
"Intel 100 Firmware"
893 Download and
install firmware for
:
894 Intel Centrino Wireless-N
100
897 bool
"Intel 2000 Firmware"
900 Download and
install firmware for
:
901 Intel Centrino Wireless-N
2200
904 bool
"Intel 2030 Firmware"
907 Download and
install firmware for
:
908 Intel Centrino Wireless-N
2230
911 bool
"Intel 105 Firmware"
914 Download and
install firmware for
:
915 Intel Centrino Wireless-N
105
918 bool
"Intel 135 Firmware"
921 Download and
install firmware for
:
922 Intel Centrino Wireless-N
135
925 bool
"Intel 3160 Firmware"
928 Download and
install firmware for
:
933 define KernelPackage
/iwl-legacy
934 $(call KernelPackage
/mac80211
/Default
)
935 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
936 TITLE
:=Intel legacy Wireless support
937 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwlegacy.ko
938 AUTOLOAD
:=$(call AutoProbe
,iwlegacy
)
941 define KernelPackage
/iwl-legacy
/description
942 iwl-legacy kernel module for legacy Intel wireless support
945 define KernelPackage
/iwl3945
946 $(call KernelPackage
/mac80211
/Default
)
947 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
948 TITLE
:=Intel iwl3945 Wireless support
949 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl3945.ko
950 AUTOLOAD
:=$(call AutoProbe
,iwl3945
)
953 define KernelPackage
/iwl3945
/description
954 iwl3945 kernel module for Intel
3945 support
957 define KernelPackage
/iwl4965
958 $(call KernelPackage
/mac80211
/Default
)
959 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
+@DRIVER_11N_SUPPORT
960 TITLE
:=Intel iwl4965 Wireless support
961 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl4965.ko
962 AUTOLOAD
:=$(call AutoProbe
,iwl4965
)
965 define KernelPackage
/iwl4965
/description
966 iwl4965 kernel module for Intel
4965 support
970 define KernelPackage
/mwl8k
971 $(call KernelPackage
/mac80211
/Default
)
972 TITLE
:=Driver for Marvell TOPDOG
802.11 Wireless cards
973 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwl8k
974 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
975 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwl8k.ko
976 AUTOLOAD
:=$(call AutoProbe
,mwl8k
)
979 define KernelPackage
/mwl8k
/description
980 Kernel modules for Marvell TOPDOG
802.11 Wireless cards
984 define KernelPackage
/mwifiex-pcie
985 $(call KernelPackage
/mac80211
/Default
)
986 TITLE
:=Driver for Marvell
802.11n
/802.11ac PCIe Wireless cards
987 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwifiex
988 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
990 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwifiex
/mwifiex.ko \
991 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwifiex
/mwifiex_pcie.ko
992 AUTOLOAD
:=$(call AutoProbe
,mwifiex_pcie
)
995 define KernelPackage
/mwifiex-pcie
/description
996 Kernel modules for Marvell
802.11n
/802.11ac PCIe Wireless cards
1000 define KernelPackage
/wlcore
1001 $(call KernelPackage
/mac80211
/Default
)
1002 TITLE
:=TI common driver part
1003 DEPENDS
+= @TARGET_omap
+kmod-mac80211
+@DRIVER_11N_SUPPORT
1005 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore.ko \
1006 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore_sdio.ko
1007 AUTOLOAD
:=$(call AutoProbe
,wlcore wlcore_sdio
)
1010 define KernelPackage
/wlcore
/description
1011 This module contains some common parts needed by TI Wireless drivers.
1014 define KernelPackage
/wl12xx
1015 $(call KernelPackage
/mac80211
/Default
)
1016 TITLE
:=Driver for TI WL12xx
1017 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl12xx
1018 DEPENDS
+= +kmod-wlcore
1019 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl12xx
/wl12xx.ko
1020 AUTOLOAD
:=$(call AutoProbe
,wl12xx
)
1023 define KernelPackage
/wl12xx
/description
1024 Kernel modules for TI WL12xx
1027 define KernelPackage
/wl18xx
1028 $(call KernelPackage
/mac80211
/Default
)
1029 TITLE
:=Driver for TI WL18xx
1030 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl18xx
1031 DEPENDS
+= +kmod-wlcore
1032 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl18xx
/wl18xx.ko
1033 AUTOLOAD
:=$(call AutoProbe
,wl18xx
)
1036 define KernelPackage
/wl18xx
/description
1037 Kernel modules for TI WL18xx
1042 ifneq ($(CONFIG_B43_FW_6_30
),)
1043 PKG_B43_FWV4_NAME
:=broadcom-wl
1044 PKG_B43_FWV4_VERSION
:=6.30.163.46
1045 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).wl_apsta.o
1046 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1047 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1048 PKG_B43_FWV4_MD5SUM
:=6fe97e9368d25342a1ab943d3cf3496d
1050 ifneq ($(CONFIG_B43_FW_5_10
),)
1051 PKG_B43_FWV4_NAME
:=broadcom-wl
1052 PKG_B43_FWV4_VERSION
:=5.10.56.27.3
1053 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta
/wl_prebuilt.o
1054 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)_mipsel.
tar.bz2
1055 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1056 PKG_B43_FWV4_MD5SUM
:=3363e3a6b3d9d73c49dea870c7834eac
1058 ifneq ($(CONFIG_B43_FW_4_178
),)
1059 PKG_B43_FWV4_NAME
:=broadcom-wl
1060 PKG_B43_FWV4_VERSION
:=4.178.10.4
1061 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1062 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1063 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1064 PKG_B43_FWV4_MD5SUM
:=14477e8cbbb91b11896affac9b219fdb
1066 ifneq ($(CONFIG_B43_FW_5_100_138
),)
1067 PKG_B43_FWV4_NAME
:=broadcom-wl
1068 PKG_B43_FWV4_VERSION
:=5.100.138
1069 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1070 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1071 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1072 PKG_B43_FWV4_MD5SUM
:=f4e357b09eaf5d8b1f1920cf3493a555
1074 PKG_B43_FWV4_NAME
:=broadcom-wl
1075 PKG_B43_FWV4_VERSION
:=4.150.10.5
1076 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta_mimo.o
1077 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1078 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1079 PKG_B43_FWV4_MD5SUM
:=0c6ba9687114c6b598e8019e262d9a60
1084 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
1085 PKG_B43_FWV4_NAME
:=broadcom-wl
1086 PKG_B43_FWV4_VERSION
:=5.2
1087 PKG_B43_FWV4_OBJECT
:=openfwwf-
$(PKG_B43_FWV4_VERSION
)
1088 PKG_B43_FWV4_SOURCE
:=openfwwf-
$(PKG_B43_FWV4_VERSION
).
tar.gz
1089 PKG_B43_FWV4_SOURCE_URL
:=http
://www.ing.unibs.it
/openfwwf
/firmware
/
1090 PKG_B43_FWV4_MD5SUM
:=e045a135453274e439ae183f8498b0fa
1094 PKG_B43_FWV3_NAME
:=wl_apsta
1095 PKG_B43_FWV3_VERSION
:=3.130.20.0
1096 PKG_B43_FWV3_SOURCE
:=$(PKG_B43_FWV3_NAME
)-$(PKG_B43_FWV3_VERSION
).o
1097 PKG_B43_FWV3_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
1098 PKG_B43_FWV3_MD5SUM
:=e08665c5c5b66beb9c3b2dd54aa80cb3
1101 FILE
:=$(PKG_B43_FWV4_SOURCE
)
1102 URL
:=$(PKG_B43_FWV4_SOURCE_URL
)
1103 MD5SUM
:=$(PKG_B43_FWV4_MD5SUM
)
1105 $(eval
$(call Download
,b43
))
1107 define Download
/b43legacy
1108 FILE
:=$(PKG_B43_FWV3_SOURCE
)
1109 URL
:=$(PKG_B43_FWV3_SOURCE_URL
)
1110 MD5SUM
:=$(PKG_B43_FWV3_MD5SUM
)
1112 $(eval
$(call Download
,b43legacy
))
1115 define KernelPackage
/b43
1116 $(call KernelPackage
/mac80211
/Default
)
1117 TITLE
:=Broadcom
43xx wireless support
1118 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/b43
1121 # Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
1123 @PCI_SUPPORT
+kmod-mac80211 \
1124 $(if
$(CONFIG_PACKAGE_B43_USE_SSB
),+kmod-ssb
) \
1125 $(if
$(CONFIG_PACKAGE_B43_USE_BCMA
),+kmod-bcma
)
1126 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43
/b43.ko
1127 AUTOLOAD
:=$(call AutoProbe
,b43
)
1131 define KernelPackage
/b43
/config
1133 config PACKAGE_B43_USE_SSB
1134 select PACKAGE_kmod-ssb
1136 depends on
!TARGET_brcm47xx
&& !TARGET_brcm63xx
1137 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
1138 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_SSB
1140 config PACKAGE_B43_USE_BCMA
1141 select PACKAGE_kmod-bcma
1143 depends on
!TARGET_brcm47xx
1144 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
1145 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA
1150 prompt
"b43 firmware version"
1151 default B43_FW_5_100_138
1153 This option allows you to select the version of the b43 firmware.
1156 bool
"Firmware 410.2160 from driver 4.150.10.5 (old stable)"
1158 Old stable firmware for BCM43xx devices.
1160 If unsure
, select this.
1163 bool
"Firmware 478.104 from driver 4.178.10.4"
1165 Older firmware for BCM43xx devices.
1167 If unsure
, select the
"stable" firmware.
1170 bool
"Firmware 508.1084 from driver 5.10.56.27"
1172 Older firmware for BCM43xx devices.
1174 If unsure
, select the
"stable" firmware.
1176 config B43_FW_5_100_138
1177 bool
"Firmware 666.2 from driver 5.100.138 (stable)"
1179 The currently default firmware for BCM43xx devices.
1181 This firmware currently gets most of the testing and is needed for some N-PHY devices.
1183 If unsure
, select the this firmware.
1186 bool
"Firmware 784.2 from driver 6.30.163.46 (experimental)"
1188 Newer experimental firmware for BCM43xx devices.
1190 This firmware is mostly untested.
1192 If unsure
, select the
"stable" firmware.
1194 config B43_OPENFIRMWARE
1195 bool
"Open FirmWare for WiFi networks"
1197 Opensource firmware for BCM43xx devices.
1199 Do _not_ select this
, unless you know what you are doing.
1200 The Opensource firmware is not suitable for embedded devices
, yet.
1201 It does not support QoS
, which is bad for AccessPoints.
1202 It does not support hardware crypto acceleration
, which is a showstopper
1203 for embedded devices with low CPU resources.
1205 If unsure
, select the
"stable" firmware.
1209 config B43_FW_SQUASH
1210 bool
"Remove unnecessary firmware files"
1211 depends on
!B43_OPENFIRMWARE
1214 This options allows you to remove unnecessary b43 firmware files
1215 from the final rootfs image. This can reduce the rootfs size by
1220 config B43_FW_SQUASH_COREREVS
1221 string
"Core revisions to include"
1222 depends on B43_FW_SQUASH
1223 default
"5,6,7,8,9,10,11,13,15" if TARGET_brcm47xx_legacy
1224 default
"16,28,29,30" if TARGET_brcm47xx_mips74k
1225 default
"5,6,7,8,9,10,11,13,15,16,28,29,30"
1227 This is a comma seperated list of core revision numbers.
1229 Example
(keep files for rev5 only
):
1232 Example
(keep files for rev5 and rev11
):
1235 config B43_FW_SQUASH_PHYTYPES
1236 string
"PHY types to include"
1237 depends on B43_FW_SQUASH
1238 default
"G,LP" if TARGET_brcm47xx_legacy
1239 default
"N,HT" if TARGET_brcm47xx_mips74k
1242 This is a comma seperated list of PHY types
:
1244 AG
=> Dual A-PHY G-PHY
1253 Example
(keep files for G-PHY only
):
1256 Example
(keep files for G-PHY and N-PHY
):
1260 prompt
"Supported buses"
1261 default PACKAGE_B43_BUSES_BCMA_AND_SSB
1263 This allows choosing buses that b43 should support.
1265 config PACKAGE_B43_BUSES_BCMA_AND_SSB
1266 depends on
!TARGET_brcm47xx_legacy
&& !TARGET_brcm47xx_mips74k
1269 config PACKAGE_B43_BUSES_BCMA
1270 depends on
!TARGET_brcm47xx_legacy
1273 config PACKAGE_B43_BUSES_SSB
1274 depends on
!TARGET_brcm47xx_mips74k
1279 config PACKAGE_B43_DEBUG
1280 bool
"Enable debug output and debugfs for b43"
1283 Enable additional debug output and runtime sanity checks for b43
1284 and enables the debugfs interface.
1288 config PACKAGE_B43_PIO
1289 bool
"Enable support for PIO transfer mode"
1292 Enable support for using PIO instead of DMA. Unless you have DMA
1293 transfer problems you don
't need this.
1297 config PACKAGE_B43_PHY_G
1298 bool "Enable support for G-PHYs"
1299 default n if TARGET_brcm47xx_mips74k
1302 Enable support for G-PHY. This includes support for the following devices:
1303 PCI: BCM4306, BCM4311, BCM4318
1304 SoC: BCM5352E, BCM4712
1308 config PACKAGE_B43_PHY_N
1309 bool "Enable support for N-PHYs"
1310 default n if TARGET_brcm47xx_legacy
1313 Enable support for N-PHY. This includes support for the following devices:
1314 PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
1315 SoC: BCM4716, BCM4717, BCM4718
1317 Currently only 11g speed is available.
1321 config PACKAGE_B43_PHY_LP
1322 bool "Enable support for LP-PHYs"
1323 default n if TARGET_brcm47xx_mips74k
1326 Enable support for LP-PHY. This includes support for the following devices:
1332 config PACKAGE_B43_PHY_HT
1333 bool "Enable support for HT-PHYs"
1334 default n if TARGET_brcm47xx_legacy
1337 Enable support for HT-PHY. This includes support for the following devices:
1340 Currently only 11g speed is available.
1344 config PACKAGE_B43_PHY_LCN
1345 bool "Enable support for LCN-PHYs"
1356 define KernelPackage/b43/description
1357 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
1360 define KernelPackage/b43legacy
1361 $(call KernelPackage/mac80211/Default)
1362 TITLE:=Broadcom 43xx-legacy wireless support
1363 URL:=http://linuxwireless.org/en/users/Drivers/b43
1366 DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
1367 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko
1368 AUTOLOAD:=$(call AutoProbe,b43legacy)
1372 define KernelPackage/b43legacy/config
1373 if PACKAGE_kmod-b43legacy
1375 config B43LEGACY_FW_SQUASH
1376 bool "Remove unnecessary firmware files"
1379 This options allows you to remove unnecessary b43legacy firmware files
1380 from the final rootfs image. This can reduce the rootfs size by
1385 config B43LEGACY_FW_SQUASH_COREREVS
1386 string "Core revisions to include"
1387 depends on B43LEGACY_FW_SQUASH
1390 This is a comma seperated list of core revision numbers.
1392 Example (keep files for rev4 only):
1395 Example (keep files for rev2 and rev4):
1401 define KernelPackage/b43legacy/description
1402 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
1406 define KernelPackage/brcmutil
1407 $(call KernelPackage/mac80211/Default)
1408 TITLE:=Broadcom IEEE802.11n common driver parts
1409 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1410 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
1411 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
1412 AUTOLOAD:=$(call AutoProbe,brcmutil)
1416 define KernelPackage/brcmutil/description
1417 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
1420 define KernelPackage/brcmutil/config
1421 if PACKAGE_kmod-brcmutil
1423 config PACKAGE_BRCM80211_DEBUG
1424 bool "Broadcom wireless driver debugging"
1426 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
1431 PKG_BRCMSMAC_FW_NAME:=broadcom-wl
1432 PKG_BRCMSMAC_FW_VERSION:=5.100.138
1433 PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
1434 PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
1435 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
1436 PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
1438 define Download/brcmsmac
1439 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
1440 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
1441 MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
1443 $(eval $(call Download,brcmsmac))
1445 define KernelPackage/brcmsmac
1446 $(call KernelPackage/mac80211/Default)
1447 TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
1448 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1449 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil
1450 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
1451 AUTOLOAD:=$(call AutoProbe,brcmsmac)
1455 define KernelPackage/brcmsmac/description
1456 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
1459 define KernelPackage/brcmsmac/config
1460 if PACKAGE_kmod-brcmsmac
1462 config BRCMSMAC_USE_FW_FROM_WL
1463 bool "Use firmware extracted from broadcom proprietary driver"
1466 Instead of using the official brcmsmac firmware a firmware
1467 version 666.2 extracted from the proprietary Broadcom driver
1468 is used. This is needed to get core rev 17 used in bcm4716
1477 define KernelPackage/brcmfmac
1478 $(call KernelPackage/mac80211/Default)
1479 TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
1480 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1481 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil +BRCMFMAC_SDIO:kmod-mmc
1482 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
1483 AUTOLOAD:=$(call AutoProbe,brcmfmac)
1486 define KernelPackage/brcmfmac/description
1487 Kernel module for Broadcom IEEE802.11n USB Wireless cards
1490 define KernelPackage/brcmfmac/config
1491 if PACKAGE_kmod-brcmfmac
1493 config BRCMFMAC_SDIO
1494 bool "Enable SDIO bus interface support"
1497 Enable support for cards attached to an SDIO bus.
1498 Select this option only if you are sure that your
1499 board has a Broadcom wireless chip atacched to
1502 config BRCMFMAC_PCIE
1503 bool "Enable PCIE bus interface support"
1504 depends on PCI_SUPPORT
1507 Supported PCIe connected chipsets:
1508 BCM4354, BCM4356, BCM43567, BCM43570, BCM43602
1513 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1519 CFG80211_INTERNAL_REGDB \
1520 CFG80211_CERTIFICATION_ONUS \
1521 MAC80211_RC_MINSTREL \
1522 MAC80211_RC_MINSTREL_HT \
1523 MAC80211_RC_MINSTREL_VHT \
1524 MAC80211_RC_DEFAULT_MINSTREL \
1526 config-$(call config_package,cfg80211) += CFG80211
1528 config-$(call config_package,mac80211) += MAC80211
1529 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1530 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1541 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1543 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
1544 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
1545 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
1547 config-$(call config_package,ath9k) += ATH9K
1548 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1549 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1550 config-$(CONFIG_PCI) += ATH9K_PCI
1551 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1552 config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
1554 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1555 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1557 config-$(call config_package,ath5k) += ATH5K
1558 ifdef CONFIG_TARGET_ath25
1559 config-y += ATH5K_AHB
1561 config-y += ATH5K_PCI
1564 config-$(call config_package,carl9170) += CARL9170
1566 config-$(call config_package,b43) += B43
1567 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
1568 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
1569 config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
1570 config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
1571 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1572 config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
1573 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1574 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1575 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1577 config-$(call config_package,b43legacy) += B43LEGACY
1578 config-y += B43LEGACY_DMA_MODE
1580 config-$(call config_package,brcmutil) += BRCMUTIL
1581 config-$(call config_package,brcmsmac) += BRCMSMAC
1582 config-$(call config_package,brcmfmac) += BRCMFMAC
1583 config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
1584 config-y += BRCMFMAC_USB
1585 config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
1586 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1588 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1590 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1591 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1592 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1593 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1594 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1595 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1597 config-$(call config_package,rt2400-pci) += RT2400PCI
1598 config-$(call config_package,rt2500-pci) += RT2500PCI
1599 config-$(call config_package,rt2500-usb) += RT2500USB
1600 config-$(call config_package,rt61-pci) += RT61PCI
1601 config-$(call config_package,rt73-usb) += RT73USB
1603 config-$(call config_package,rt2800-lib) += RT2800_LIB
1605 config-$(call config_package,rt2800-soc) += RT2800SOC
1606 config-$(call config_package,rt2800-pci) += RT2800PCI
1607 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1609 config-$(call config_package,rt2800-usb) += RT2800USB
1610 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX
1612 config-$(call config_package,iwl-legacy) += IWLEGACY
1613 config-$(call config_package,iwl3945) += IWL3945
1614 config-$(call config_package,iwl4965) += IWL4965
1615 config-$(call config_package,iwlagn) += IWLWIFI IWLDVM
1617 config-$(call config_package,net-libipw) += LIBIPW
1618 config-$(call config_package,net-ipw2100) += IPW2100
1619 config-$(call config_package,net-ipw2200) += IPW2200
1621 config-$(call config_package,p54-common) += P54_COMMON
1622 config-$(call config_package,p54-pci) += P54_PCI
1623 config-$(call config_package,p54-usb) += P54_USB
1624 config-$(call config_package,p54-spi) += P54_SPI
1626 config-$(call config_package,net-hermes) += HERMES
1627 config-$(call config_package,net-hermes-pci) += PCI_HERMES
1628 config-$(call config_package,net-hermes-plx) += PLX_HERMES
1629 config-$(call config_package,net-hermes-pcmcia) += PCMCIA_HERMES
1630 config-y += HERMES_PRISM
1632 config-$(call config_package,adm8211) += ADM8211
1633 config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
1634 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1635 config-$(call config_package,mwl8k) += MWL8K
1636 config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
1637 config-$(call config_package,rtl8180) += RTL8180
1638 config-$(call config_package,rtl8187) += RTL8187
1639 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1640 config-$(call config_package,wl12xx) += WL12XX
1641 config-$(call config_package,wl18xx) += WL18XX
1642 config-y += WL_TI WILINK_PLATFORM_DATA
1643 config-$(call config_package,zd1211rw) += ZD1211RW
1645 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1646 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1647 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1648 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1649 config-$(call config_package,rtl8192ce) += RTL8192CE
1650 config-$(call config_package,rtl8192se) += RTL8192SE
1651 config-$(call config_package,rtl8192de) += RTL8192DE
1652 config-$(call config_package,rtl8192cu) += RTL8192CU
1653 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1655 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1657 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1658 CROSS_COMPILE="$(KERNEL_CROSS)" \
1659 ARCH="$(LINUX_KARCH)" \
1660 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include" \
1661 KLIB_BUILD="$(LINUX_DIR)" \
1663 KLIB=$(TARGET_MODULES_DIR) \
1664 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1665 KBUILD_LDFLAGS_MODULE_PREREQ=
1667 ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
1672 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1676 define mac80211_config
1677 $(call ConfigVars,m)$(call ConfigVars,y)
1679 $(eval $(call shexport,mac80211_config))
1681 define Build/Prepare
1682 rm -rf $(PKG_BUILD_DIR)
1683 mkdir -p $(PKG_BUILD_DIR)
1686 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1687 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1688 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1689 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
1690 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE)
1692 $(PKG_BUILD_DIR)/include/linux/ssb \
1693 $(PKG_BUILD_DIR)/include/linux/bcma \
1694 $(PKG_BUILD_DIR)/include/net/bluetooth
1697 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1698 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1699 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1700 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1701 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1702 $(PKG_BUILD_DIR)/include/net/ieee80211.h
1704 echo 'compat-wireless-
$(PKG_VERSION
)-$(PKG_RELEASE
)-$(REVISION
)' > $(PKG_BUILD_DIR)/compat_version
1705 $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
1708 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1709 define Build/Compile/kmod
1710 rm -rf $(PKG_BUILD_DIR)/modules
1711 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1715 define Build/Configure
1716 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1717 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1718 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1721 define Build/Compile
1722 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1723 $(MAKE) $(MAKE_OPTS) allnoconfig
1724 $(call Build/Compile/kmod)
1727 define Build/InstallDev
1729 $(1)/usr/include/mac80211 \
1730 $(1)/usr/include/mac80211-backport \
1731 $(1)/usr/include/mac80211/ath \
1732 $(1)/usr/include/net/mac80211
1733 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1734 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1735 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1736 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1737 rm -f $(1)/usr/include/mac80211-backport/linux/module.h
1740 define KernelPackage/libertas-usb/install
1741 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1743 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8388_v9.bin \
1744 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8682.bin \
1745 $(1)/lib/firmware/libertas/
1748 define KernelPackage/libertas-sdio/install
1749 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1751 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385_helper.bin \
1752 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385.bin \
1753 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9_helper.bin \
1754 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9.bin \
1755 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688_helper.bin \
1756 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688.bin \
1757 $(1)/lib/firmware/libertas
1760 define KernelPackage/cfg80211/install
1761 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1762 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1763 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1766 define KernelPackage/p54-pci/install
1767 $(INSTALL_DIR) $(1)/lib/firmware
1768 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
1771 define KernelPackage/p54-usb/install
1772 $(INSTALL_DIR) $(1)/lib/firmware
1773 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
1776 define KernelPackage/p54-spi/install
1777 $(INSTALL_DIR) $(1)/lib/firmware
1778 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
1781 define KernelPackage/rt61-pci/install
1782 $(INSTALL_DIR) $(1)/lib/firmware
1784 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561.bin \
1785 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561s.bin \
1786 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2661.bin \
1790 define KernelPackage/rt73-usb/install
1791 $(INSTALL_DIR) $(1)/lib/firmware
1792 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt73.bin $(1)/lib/firmware/
1795 define KernelPackage/rt2800-pci/install
1796 $(INSTALL_DIR) $(1)/lib/firmware
1798 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
1799 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
1803 define KernelPackage/rt2800-usb/install
1804 $(INSTALL_DIR) $(1)/lib/firmware
1805 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/
1808 define KernelPackage/wl12xx/install
1809 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1811 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-mr.bin \
1812 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-plt.bin \
1813 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-sr.bin \
1814 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl1271-nvs.bin \
1815 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-mr.bin \
1816 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-plt.bin \
1817 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-sr.bin \
1818 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-nvs.bin \
1819 $(1)/lib/firmware/ti-connectivity
1822 define KernelPackage/wl18xx/install
1823 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1825 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-conf.bin \
1826 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-fw-3.bin \
1827 $(1)/lib/firmware/ti-connectivity
1830 define KernelPackage/zd1211rw/install
1831 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1832 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1835 define KernelPackage/carl9170/install
1836 $(INSTALL_DIR) $(1)/lib/firmware
1837 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/carl9170-1.fw $(1)/lib/firmware
1840 define KernelPackage/ath9k-htc/install
1841 $(INSTALL_DIR) $(1)/lib/firmware
1843 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
1844 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
1848 define KernelPackage/ath10k/install
1849 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
1851 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1852 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1853 ifeq ($(CONFIG_ATH10K_STA_FW),y)
1855 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/main/firmware-2.bin_999.999.0.636 \
1856 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
1859 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/10.2.4/firmware-4.bin_10.2.4.45 \
1860 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-4.bin
1864 define KernelPackage/mwl8k/install
1865 $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
1867 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366_ap-3.fw \
1868 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366.fw \
1869 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8366.fw \
1870 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8687.fw \
1871 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8687.fw \
1872 $(1)/lib/firmware/mwl8k/
1875 define KernelPackage/mwifiex-pcie/install
1876 $(INSTALL_DIR) $(1)/lib/firmware/mrvl
1878 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mrvl/pcie8897_uapsta.bin \
1879 $(1)/lib/firmware/mrvl/
1882 define KernelPackage/net-ipw2100/install
1883 $(INSTALL_DIR) $(1)/lib/firmware
1884 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1887 define KernelPackage/net-ipw2200/install
1888 $(INSTALL_DIR) $(1)/lib/firmware
1889 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1892 define KernelPackage/iwlagn/install
1893 $(INSTALL_DIR) $(1)/lib/firmware
1894 ifneq ($(CONFIG_IWL5000_FW),)
1895 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5000-5.ucode $(1)/lib/firmware
1897 ifneq ($(CONFIG_IWL5150_FW),)
1898 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
1900 ifneq ($(CONFIG_IWL1000_FW),)
1901 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
1903 ifneq ($(CONFIG_IWL6000_FW),)
1904 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
1906 ifneq ($(CONFIG_IWL6050_FW),)
1907 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
1909 ifneq ($(CONFIG_IWL6005_FW),)
1910 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
1912 ifneq ($(CONFIG_IWL6030_FW),)
1913 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
1915 ifneq ($(CONFIG_IWL7260_FW),)
1916 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-9.ucode $(1)/lib/firmware
1918 ifneq ($(CONFIG_IWL7265_FW),)
1919 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7265-9.ucode $(1)/lib/firmware
1921 ifneq ($(CONFIG_IWL100_FW),)
1922 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
1924 ifneq ($(CONFIG_IWL2000_FW),)
1925 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
1927 ifneq ($(CONFIG_IWL2030_FW),)
1928 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
1930 ifneq ($(CONFIG_IWL105_FW),)
1931 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
1933 ifneq ($(CONFIG_IWL135_FW),)
1934 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
1936 ifneq ($(CONFIG_IWL3160_FW),)
1937 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3160-9.ucode $(1)/lib/firmware
1941 define KernelPackage/iwl3945/install
1942 $(INSTALL_DIR) $(1)/lib/firmware
1943 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3945-2.ucode $(1)/lib/firmware
1946 define KernelPackage/iwl4965/install
1947 $(INSTALL_DIR) $(1)/lib/firmware
1948 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-4965-2.ucode $(1)/lib/firmware
1951 define KernelPackage/b43/install
1952 rm -rf $(1)/lib/firmware/
1953 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1954 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1956 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1958 $(INSTALL_DIR) $(1)/lib/firmware/
1959 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1960 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1961 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
1962 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
1963 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
1964 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
1966 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1968 ifneq ($(CONFIG_B43_FW_SQUASH),)
1969 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1973 define KernelPackage/b43legacy/install
1974 $(INSTALL_DIR) $(1)/lib/firmware/
1975 b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
1976 ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),)
1977 b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
1981 define KernelPackage/brcmsmac/install
1982 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1983 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
1984 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
1985 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
1988 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
1989 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
1990 $(1)/lib/firmware/brcm/
1994 define KernelPackage/brcmfmac/install
1995 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1997 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
1998 $(1)/lib/firmware/brcm/
2000 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43143.bin \
2001 $(1)/lib/firmware/brcm/
2004 $(eval $(call KernelPackage,adm8211))
2005 $(eval $(call KernelPackage,ath5k))
2006 $(eval $(call KernelPackage,lib80211))
2007 $(eval $(call KernelPackage,libertas-usb))
2008 $(eval $(call KernelPackage,libertas-sdio))
2009 $(eval $(call KernelPackage,cfg80211))
2010 $(eval $(call KernelPackage,mac80211))
2011 $(eval $(call KernelPackage,p54-common))
2012 $(eval $(call KernelPackage,p54-pci))
2013 $(eval $(call KernelPackage,p54-usb))
2014 $(eval $(call KernelPackage,p54-spi))
2015 $(eval $(call KernelPackage,rt2x00-lib))
2016 $(eval $(call KernelPackage,rt2x00-mmio))
2017 $(eval $(call KernelPackage,rt2x00-pci))
2018 $(eval $(call KernelPackage,rt2x00-usb))
2019 $(eval $(call KernelPackage,rt2800-lib))
2020 $(eval $(call KernelPackage,rt2400-pci))
2021 $(eval $(call KernelPackage,rt2500-pci))
2022 $(eval $(call KernelPackage,rt2500-usb))
2023 $(eval $(call KernelPackage,rt61-pci))
2024 $(eval $(call KernelPackage,rt73-usb))
2025 $(eval $(call KernelPackage,rt2800-mmio))
2026 $(eval $(call KernelPackage,rt2800-soc))
2027 $(eval $(call KernelPackage,rt2800-pci))
2028 $(eval $(call KernelPackage,rt2800-usb))
2029 $(eval $(call KernelPackage,rtl8180))
2030 $(eval $(call KernelPackage,rtl8187))
2031 $(eval $(call KernelPackage,rtlwifi))
2032 $(eval $(call KernelPackage,rtlwifi-pci))
2033 $(eval $(call KernelPackage,rtlwifi-usb))
2034 $(eval $(call KernelPackage,rtl8192c-common))
2035 $(eval $(call KernelPackage,rtl8192ce))
2036 $(eval $(call KernelPackage,rtl8192se))
2037 $(eval $(call KernelPackage,rtl8192de))
2038 $(eval $(call KernelPackage,rtl8192cu))
2039 $(eval $(call KernelPackage,zd1211rw))
2040 $(eval $(call KernelPackage,mac80211-hwsim))
2041 $(eval $(call KernelPackage,ath9k-common))
2042 $(eval $(call KernelPackage,ath9k))
2043 $(eval $(call KernelPackage,ath9k-htc))
2044 $(eval $(call KernelPackage,ath10k))
2045 $(eval $(call KernelPackage,ath))
2046 $(eval $(call KernelPackage,carl9170))
2047 $(eval $(call KernelPackage,b43))
2048 $(eval $(call KernelPackage,b43legacy))
2049 $(eval $(call KernelPackage,brcmutil))
2050 $(eval $(call KernelPackage,brcmsmac))
2051 $(eval $(call KernelPackage,brcmfmac))
2052 $(eval $(call KernelPackage,net-libipw))
2053 $(eval $(call KernelPackage,net-ipw2100))
2054 $(eval $(call KernelPackage,net-ipw2200))
2055 $(eval $(call KernelPackage,iwlagn))
2056 $(eval $(call KernelPackage,iwl-legacy))
2057 $(eval $(call KernelPackage,iwl4965))
2058 $(eval $(call KernelPackage,iwl3945))
2059 $(eval $(call KernelPackage,mwl8k))
2060 $(eval $(call KernelPackage,mwifiex-pcie))
2061 $(eval $(call KernelPackage,net-hermes))
2062 $(eval $(call KernelPackage,net-hermes-pci))
2063 $(eval $(call KernelPackage,net-hermes-plx))
2064 $(eval $(call KernelPackage,net-hermes-pcmcia))
2065 $(eval $(call KernelPackage,wlcore))
2066 $(eval $(call KernelPackage,wl12xx))
2067 $(eval $(call KernelPackage,wl18xx))