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
:=2014-03-31
15 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
16 PKG_BACKPORT_VERSION
:=
17 PKG_MD5SUM
:=8b5cf82d6defc5867511014af4afc0b6
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-sd 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 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_B43_DEBUG \
43 CONFIG_PACKAGE_B43_PIO \
44 CONFIG_PACKAGE_B43_N_PHY \
45 CONFIG_PACKAGE_RTLWIFI_DEBUG \
46 CONFIG_ATH_USER_REGD \
48 include $(INCLUDE_DIR
)/package.mk
50 WMENU
:=Wireless Drivers
52 define KernelPackage
/mac80211
/Default
54 URL
:=http
://linuxwireless.org
/
55 MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
56 DEPENDS
:=@
(!(TARGET_avr32||TARGET_ps3||TARGET_pxcab
)||BROKEN
)
59 define KernelPackage
/cfg80211
60 $(call KernelPackage
/mac80211
/Default
)
61 TITLE
:=cfg80211
- wireless configuration API
64 $(PKG_BUILD_DIR
)/compat
/compat.ko \
65 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.ko
68 define KernelPackage
/cfg80211
/description
69 cfg80211 is the Linux wireless LAN
(802.11) configuration API.
72 define KernelPackage
/mac80211
73 $(call KernelPackage
/mac80211
/Default
)
74 TITLE
:=Linux
802.11 Wireless Networking Stack
75 DEPENDS
+= +kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-cfg80211
+hostapd-common
78 FILES
:= $(PKG_BUILD_DIR
)/net
/mac80211
/mac80211.ko
82 define KernelPackage
/mac80211
/config
83 if PACKAGE_kmod-mac80211
85 config PACKAGE_MAC80211_DEBUGFS
86 bool
"Export mac80211 internals in DebugFS"
87 select KERNEL_DEBUG_FS
88 select KERNEL_RELAY if PACKAGE_kmod-ath9k-common
91 Select this to see extensive information about
92 the internal state of mac80211 in debugfs.
94 config PACKAGE_MAC80211_MESH
95 bool
"Enable 802.11s mesh support"
101 define KernelPackage
/mac80211
/description
102 Generic IEEE
802.11 Networking Stack
(mac80211
)
105 PKG_LINUX_FIRMWARE_NAME
:=linux-firmware
106 PKG_LINUX_FIRMWARE_VERSION
:=f8c22c692bdee57a20b092e647464ff6176df3ed
107 PKG_LINUX_FIRMWARE_SOURCE
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
).
tar.bz2
108 PKG_LINUX_FIRMWARE_PROTO
:=git
109 PKG_LINUX_FIRMWARE_SOURCE_URL
:=git
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/firmware
/linux-firmware.git
110 PKG_LINUX_FIRMWARE_SUBDIR
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
)
111 PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
:=e219333f01835c6e556875a9e0deb3f9
113 define Download
/linux-firmware
114 FILE
:=$(PKG_LINUX_FIRMWARE_SOURCE
)
115 URL
:=$(PKG_LINUX_FIRMWARE_SOURCE_URL
)
116 MD5SUM
:=$(PKG_LINUX_FIRMWARE_MD5SUM
)
117 PROTO
:=$(PKG_LINUX_FIRMWARE_PROTO
)
118 VERSION
:=$(PKG_LINUX_FIRMWARE_VERSION
)
119 SUBDIR
:=$(PKG_LINUX_FIRMWARE_SUBDIR
)
120 MIRROR_MD5SUM
:=$(PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
)
122 $(eval
$(call Download
,linux-firmware
))
124 PKG_ATH10K_LINUX_FIRMWARE_NAME
:=ath10k-firmware
125 PKG_ATH10K_LINUX_FIRMWARE_VERSION
:=38eeda3ae6f90fde5546bdd48ee4ff3090f238c0
126 PKG_ATH10K_LINUX_FIRMWARE_SOURCE
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
).
tar.bz2
127 PKG_ATH10K_LINUX_FIRMWARE_PROTO
:=git
128 PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
:=https
://github.com
/kvalo
/ath10k-firmware.git
129 PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
130 #PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM:=?
132 define Download
/ath10k-firmware
133 FILE
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE
)
134 URL
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
)
135 PROTO
:=$(PKG_ATH10K_LINUX_FIRMWARE_PROTO
)
136 VERSION
:=$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
137 SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
)
138 #MIRROR_MD5SUM:=$(PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM)
140 $(eval
$(call Download
,ath10k-firmware
))
143 P54PCIFW
:=2.13.12.0.arm
144 P54USBFW
:=2.13.24.0.lm87.arm
145 P54SPIFW
:=2.13.0.0.a
.13.14.arm
147 define Download
/p54usb
149 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-usb
150 MD5SUM
:=8e8ab005a4f8f0123bcdc51bc25b47f6
152 $(eval
$(call Download
,p54usb
))
154 define Download
/p54pci
156 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-softmac
157 MD5SUM
:=ff7536af2092b1c4b21315bd103ef4c4
159 $(eval
$(call Download
,p54pci
))
161 define Download
/p54spi
163 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/stlc4560
164 MD5SUM
:=42661f8ecbadd88012807493f596081d
166 $(eval
$(call Download
,p54spi
))
168 define KernelPackage
/p54
/Default
169 $(call KernelPackage
/mac80211
/Default
)
170 TITLE
:=Prism54 Drivers
173 define KernelPackage
/p54
/description
174 Kernel module for Prism54 chipsets
(mac80211
)
177 define KernelPackage
/p54-common
178 $(call KernelPackage
/p54
/Default
)
179 DEPENDS
+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx
+kmod-mac80211
+kmod-lib-crc-ccitt
181 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54common.ko
184 define KernelPackage
/p54-pci
185 $(call KernelPackage
/p54
/Default
)
187 DEPENDS
+= @PCI_SUPPORT
+kmod-p54-common
188 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54pci.ko
189 AUTOLOAD
:=$(call AutoProbe
,p54pci
)
192 define KernelPackage
/p54-usb
193 $(call KernelPackage
/p54
/Default
)
195 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-p54-common
196 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54usb.ko
197 AUTOLOAD
:=$(call AutoProbe
,p54usb
)
200 define KernelPackage
/p54-spi
201 $(call KernelPackage
/p54
/Default
)
203 DEPENDS
+= @TARGET_omap24xx
+kmod-p54-common
204 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54spi.ko
205 AUTOLOAD
:=$(call AutoProbe
,p54spi
)
208 define KernelPackage
/rt2x00
/Default
209 $(call KernelPackage
/mac80211
/Default
)
210 TITLE
:=Ralink Drivers for RT2x00 cards
213 define KernelPackage
/rt2x00-lib
214 $(call KernelPackage
/rt2x00
/Default
)
215 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-mac80211
+kmod-lib-crc-itu-t
217 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00lib.ko
221 define KernelPackage
/rt2x00-lib
/config
222 if PACKAGE_kmod-rt2x00-lib
224 config PACKAGE_RT2X00_LIB_DEBUGFS
225 bool
"Enable rt2x00 debugfs support"
226 depends on PACKAGE_MAC80211_DEBUGFS
228 Enable creation of debugfs files for the rt2x00 drivers.
229 These debugfs files support both reading and writing of the
230 most important register types of the rt2x00 hardware.
232 config PACKAGE_RT2X00_DEBUG
233 bool
"Enable rt2x00 debug output"
235 Enable debugging output for
all rt2x00 modules
240 define KernelPackage
/rt2x00-mmio
241 $(call KernelPackage
/rt2x00
/Default
)
242 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-eeprom-93cx6
245 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00mmio.ko
248 define KernelPackage
/rt2x00-pci
249 $(call KernelPackage
/rt2x00
/Default
)
250 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-mmio
+kmod-rt2x00-lib
253 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00pci.ko
254 AUTOLOAD
:=$(call AutoProbe
,rt2x00pci
)
257 define KernelPackage
/rt2x00-usb
258 $(call KernelPackage
/rt2x00
/Default
)
259 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-lib
+kmod-usb-core
262 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00usb.ko
263 AUTOLOAD
:=$(call AutoProbe
,rt2x00usb
)
266 define KernelPackage
/rt2800-lib
267 $(call KernelPackage
/rt2x00
/Default
)
268 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-lib-crc-ccitt
+@DRIVER_11N_SUPPORT
271 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800lib.ko
274 define KernelPackage
/rt2400-pci
275 $(call KernelPackage
/rt2x00
/Default
)
276 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
278 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2400pci.ko
279 AUTOLOAD
:=$(call AutoProbe
,rt2400pci
)
282 define KernelPackage
/rt2500-pci
283 $(call KernelPackage
/rt2x00
/Default
)
284 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
286 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500pci.ko
287 AUTOLOAD
:=$(call AutoProbe
,rt2500pci
)
290 define KernelPackage
/rt2500-usb
291 $(call KernelPackage
/rt2x00
/Default
)
292 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
294 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500usb.ko
295 AUTOLOAD
:=$(call AutoProbe
,rt2500usb
)
298 define KernelPackage
/rt61-pci
299 $(call KernelPackage
/rt2x00
/Default
)
300 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
302 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt61pci.ko
303 AUTOLOAD
:=$(call AutoProbe
,rt61pci
)
306 define KernelPackage
/rt73-usb
307 $(call KernelPackage
/rt2x00
/Default
)
308 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
310 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt73usb.ko
311 AUTOLOAD
:=$(call AutoProbe
,rt73usb
)
314 define KernelPackage
/rt2800-mmio
315 $(call KernelPackage
/rt2x00
/Default
)
316 TITLE
+= (RT28xx
/RT3xxx MMIO
)
317 DEPENDS
+= +kmod-rt2800-lib
+kmod-rt2x00-mmio
319 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800mmio.ko
322 define KernelPackage
/rt2800-soc
323 $(call KernelPackage
/rt2x00
/Default
)
324 DEPENDS
+= @
(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883
) +kmod-rt2800-mmio
+kmod-rt2800-lib
325 TITLE
+= (RT28xx
/RT3xxx SoC
)
327 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00soc.ko \
328 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800soc.ko
329 AUTOLOAD
:=$(call AutoProbe
,rt2800soc
)
332 define KernelPackage
/rt2800-pci
333 $(call KernelPackage
/rt2x00
/Default
)
334 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
+kmod-rt2800-lib
+kmod-rt2800-mmio
336 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800pci.ko
337 AUTOLOAD
:=$(call AutoProbe
,rt2800pci
)
340 define KernelPackage
/rt2800-usb
341 $(call KernelPackage
/rt2x00
/Default
)
342 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
+kmod-rt2800-lib
+kmod-lib-crc-ccitt
344 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800usb.ko
345 AUTOLOAD
:=$(call AutoProbe
,rt2800usb
)
348 define KernelPackage
/rtl818x
/Default
349 $(call KernelPackage
/mac80211
/Default
)
350 TITLE
:=Realtek Drivers for RTL818x devices
351 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/rtl8187
352 DEPENDS
+= +kmod-eeprom-93cx6
+kmod-mac80211
355 define KernelPackage
/rtl8180
356 $(call KernelPackage
/rtl818x
/Default
)
357 DEPENDS
+= @PCI_SUPPORT
358 TITLE
+= (RTL8180 PCI
)
359 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8180
/rtl8180.ko
360 AUTOLOAD
:=$(call AutoProbe
,rtl8180
)
363 define KernelPackage
/rtl8187
364 $(call KernelPackage
/rtl818x
/Default
)
365 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
366 TITLE
+= (RTL8187 USB
)
367 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8187
/rtl8187.ko
368 AUTOLOAD
:=$(call AutoProbe
,rtl8187
)
371 define KernelPackage
/rtlwifi
/config
373 depends on PACKAGE_kmod-rtlwifi
375 config PACKAGE_RTLWIFI_DEBUG
376 bool
"Realtek wireless debugging"
378 Say Y
, if you want to debug realtek wireless drivers.
383 define KernelPackage
/rtlwifi
384 $(call KernelPackage
/mac80211
/Default
)
385 TITLE
:=Realtek common driver part
386 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT
) +kmod-mac80211
+@DRIVER_11N_SUPPORT
387 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtlwifi.ko
391 define KernelPackage
/rtlwifi-pci
392 $(call KernelPackage
/mac80211
/Default
)
393 TITLE
:=Realtek common driver part
(PCI support
)
394 DEPENDS
+= @PCI_SUPPORT
+kmod-rtlwifi
395 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_pci.ko
396 AUTOLOAD
:=$(call AutoProbe
,rtl_pci
)
400 define KernelPackage
/rtlwifi-usb
401 $(call KernelPackage
/mac80211
/Default
)
402 TITLE
:=Realtek common driver part
(USB support
)
403 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-rtlwifi
404 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_usb.ko
405 AUTOLOAD
:=$(call AutoProbe
,rtl_usb
)
409 define KernelPackage
/rtl8192c-common
410 $(call KernelPackage
/mac80211
/Default
)
411 TITLE
:=Realtek RTL8192CE
/RTL8192CU common support module
412 DEPENDS
+= +kmod-rtlwifi
413 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192c
/rtl8192c-common.ko
417 define KernelPackage
/rtl8192ce
418 $(call KernelPackage
/mac80211
/Default
)
419 TITLE
:=Realtek RTL8192CE
/RTL8188CE support
420 DEPENDS
+= +kmod-rtlwifi-pci
+kmod-rtl8192c-common
421 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192ce
/rtl8192ce.ko
422 AUTOLOAD
:=$(call AutoProbe
,rtl8192ce
)
425 define KernelPackage
/rtl8192ce
/install
426 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
427 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfw.bin
$(1)/lib
/firmware
/rtlwifi
430 define KernelPackage
/rtl8192se
431 $(call KernelPackage
/mac80211
/Default
)
432 TITLE
:=Realtek RTL8192SE
/RTL8191SE support
433 DEPENDS
+= +kmod-rtlwifi-pci
434 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192se
/rtl8192se.ko
435 AUTOLOAD
:=$(call AutoProbe
,rtl8192se
)
438 define KernelPackage
/rtl8192se
/install
439 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
440 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192sefw.bin
$(1)/lib
/firmware
/rtlwifi
443 define KernelPackage
/rtl8192de
444 $(call KernelPackage
/mac80211
/Default
)
445 TITLE
:=Realtek RTL8192DE
/RTL8188DE support
446 DEPENDS
+= +kmod-rtlwifi-pci
447 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192de
/rtl8192de.ko
448 AUTOLOAD
:=$(call AutoProbe
,rtl8192de
)
451 define KernelPackage
/rtl8192de
/install
452 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
453 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192defw.bin
$(1)/lib
/firmware
/rtlwifi
456 define KernelPackage
/rtl8192cu
457 $(call KernelPackage
/mac80211
/Default
)
458 TITLE
:=Realtek RTL8192CU
/RTL8188CU support
459 DEPENDS
+= +kmod-rtlwifi-usb
+kmod-rtl8192c-common
460 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192cu
/rtl8192cu.ko
461 AUTOLOAD
:=$(call AutoProbe
,rtl8192cu
)
464 define KernelPackage
/rtl8192cu
/install
465 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
466 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw.bin
$(1)/lib
/firmware
/rtlwifi
467 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_TMSC.bin
$(1)/lib
/firmware
/rtlwifi
470 ZD1211FW_NAME
:=zd1211-firmware
471 ZD1211FW_VERSION
:=1.4
472 define Download
/zd1211rw
473 FILE
:=$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
475 MD5SUM
:=19f28781d76569af8551c9d11294c870
477 $(eval
$(call Download
,zd1211rw
))
479 define KernelPackage
/zd1211rw
480 $(call KernelPackage
/mac80211
/Default
)
481 TITLE
:=Zydas ZD1211 support
482 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-mac80211
483 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/zd1211rw
/zd1211rw.ko
484 AUTOLOAD
:=$(call AutoProbe
,zd1211rw
)
487 define KernelPackage
/adm8211
488 $(call KernelPackage
/mac80211
/Default
)
489 TITLE
:=ADMTek
8211 support
490 DEPENDS
+=@PCI_SUPPORT
+kmod-mac80211
+kmod-eeprom-93cx6
491 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/adm8211.ko
492 AUTOLOAD
:=$(call AutoProbe
,adm8211
)
495 define KernelPackage
/ath
/config
498 bool
"Force Atheros drivers to respect the user's regdomain settings"
500 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
501 the regulatory limits and the user is only allowed to restrict the settings
502 even further, even if the country allows frequencies or power levels that
503 are forbidden by the EEPROM settings.
505 Select this option if you want the driver to respect the user's decision about
508 config PACKAGE_ATH_DEBUG
509 bool
"Atheros wireless debugging"
511 Say Y
, if you want to debug atheros wireless drivers.
512 Right now only ath9k makes use of this.
516 define KernelPackage
/ath
517 $(call KernelPackage
/mac80211
/Default
)
518 TITLE
:=Atheros common driver part
519 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_atheros
+kmod-mac80211
520 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.ko
524 define KernelPackage
/ath
/description
525 This module contains some common parts needed by Atheros Wireless drivers.
528 define KernelPackage
/ath5k
529 $(call KernelPackage
/mac80211
/Default
)
530 TITLE
:=Atheros
5xxx wireless cards support
531 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath5k
532 DEPENDS
+= @PCI_SUPPORT||@TARGET_atheros
+kmod-ath
533 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.ko
534 AUTOLOAD
:=$(call AutoProbe
,ath5k
)
537 define KernelPackage
/ath5k
/description
538 This module adds support for wireless adapters based on
539 Atheros
5xxx chipset.
542 define KernelPackage
/ath9k-common
543 $(call KernelPackage
/mac80211
/Default
)
544 TITLE
:=Atheros
802.11n wireless devices
(common code for ath9k and ath9k_htc
)
545 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
546 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx
+kmod-ath
+@DRIVER_11N_SUPPORT
548 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.ko \
549 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.ko
552 define KernelPackage
/ath9k
553 $(call KernelPackage
/mac80211
/Default
)
554 TITLE
:=Atheros
802.11n PCI wireless cards support
555 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
556 DEPENDS
+= @PCI_SUPPORT||TARGET_ar71xx
+kmod-ath9k-common
558 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.ko
559 AUTOLOAD
:=$(call AutoProbe
,ath9k
)
562 define KernelPackage
/ath9k
/description
563 This module adds support for wireless adapters based on
564 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
567 define KernelPackage
/ath9k-htc
568 $(call KernelPackage
/mac80211
/Default
)
569 TITLE
:=Atheros
802.11n USB device support
570 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
571 DEPENDS
+= @USB_SUPPORT
+kmod-ath9k-common
+kmod-usb-core
573 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_htc.ko
574 AUTOLOAD
:=$(call AutoProbe
,ath9k_htc
)
577 define KernelPackage
/ath9k-htc
/description
578 This module adds support for wireless adapters based on
579 Atheros USB AR9271 and AR7010 family of chipsets.
582 define KernelPackage
/ath10k
583 $(call KernelPackage
/mac80211
/Default
)
584 TITLE
:=Atheros
802.11ac wireless cards support
585 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/ath10k
586 DEPENDS
+= @PCI_SUPPORT
+kmod-ath
+@DRIVER_11N_SUPPORT
588 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_core.ko \
589 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_pci.ko
590 AUTOLOAD
:=$(call AutoLoad
,55,ath10k_core ath10k_pci
)
593 define KernelPackage
/ath10k
/description
594 This module adds support for wireless adapters based on
595 Atheros IEEE
802.11ac family of chipsets. For now only
599 define KernelPackage
/ath10k
/config
600 if PACKAGE_kmod-ath10k
603 bool
"Firmware optimized for STA operation"
606 Use the ath10k firmware optimized for wireless client instead
607 of access point operation.
612 define KernelPackage
/carl9170
613 $(call KernelPackage
/mac80211
/Default
)
614 TITLE
:=Driver for Atheros AR9170 USB sticks
615 DEPENDS
:=@USB_SUPPORT
+kmod-mac80211
+kmod-ath
+kmod-usb-core
+kmod-input-core
+@DRIVER_11N_SUPPORT
616 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/carl9170
/carl9170.ko
617 AUTOLOAD
:=$(call AutoProbe
,carl9170
)
620 define KernelPackage
/lib80211
621 $(call KernelPackage
/mac80211
/Default
)
622 TITLE
:=802.11 Networking stack
623 DEPENDS
:=+kmod-cfg80211
625 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211.ko \
626 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_wep.ko \
627 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_ccmp.ko \
628 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_tkip.ko
629 AUTOLOAD
:=$(call AutoProbe
, \
632 lib80211_crypt_ccmp \
633 lib80211_crypt_tkip \
637 define KernelPackage
/lib80211
/description
638 Kernel modules for
802.11 Networking stack
642 - lib80211_crypt_tkip
643 - lib80211_crytp_ccmp
646 define KernelPackage
/libertas-usb
647 $(call KernelPackage
/mac80211
/Default
)
648 DEPENDS
+= @USB_SUPPORT
+kmod-cfg80211
+kmod-usb-core
+kmod-lib80211
+@DRIVER_WEXT_SUPPORT
649 TITLE
:=Marvell
88W8015 Wireless Driver
651 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
652 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/usb8xxx.ko
653 AUTOLOAD
:=$(call AutoProbe
,libertas usb8xxx
)
656 define KernelPackage
/libertas-sd
657 $(call KernelPackage
/mac80211
/Default
)
658 DEPENDS
+= +kmod-cfg80211
+kmod-lib80211
+kmod-mmc
+@DRIVER_WEXT_SUPPORT @
!TARGET_uml
659 TITLE
:=Marvell
88W8686 Wireless Driver
661 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
662 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas_sdio.ko
663 AUTOLOAD
:=$(call AutoProbe
,libertas libertas_sdio
)
666 define KernelPackage
/mac80211-hwsim
667 $(call KernelPackage
/mac80211
/Default
)
668 TITLE
:=mac80211 HW simulation device
669 DEPENDS
+= +kmod-mac80211
670 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mac80211_hwsim.ko
671 AUTOLOAD
:=$(call AutoProbe
,mac80211_hwsim
)
674 define KernelPackage
/net-libipw
675 $(call KernelPackage
/mac80211
/Default
)
676 TITLE
:=libipw for ipw2100 and ipw2200
677 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic
+kmod-lib80211
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
678 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.ko
679 AUTOLOAD
:=$(call AutoProbe
,libipw
)
682 define KernelPackage
/net-libipw
/description
683 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
686 IPW2100_NAME
:=ipw2100-fw
689 define Download
/net-ipw2100
690 URL
:=http
://bughost.org
/firmware
/
691 FILE
:=$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
692 MD5SUM
=46aa75bcda1a00efa841f9707bbbd113
694 $(eval
$(call Download
,net-ipw2100
))
696 define KernelPackage
/net-ipw2100
697 $(call KernelPackage
/mac80211
/Default
)
698 TITLE
:=Intel IPW2100 driver
699 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
700 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.ko
701 AUTOLOAD
:=$(call AutoProbe
,ipw2100
)
704 define KernelPackage
/net-ipw2100
/description
705 Kernel support for Intel IPW2100
710 IPW2200_NAME
:=ipw2200-fw
713 define Download
/net-ipw2200
714 URL
:=http
://bughost.org
/firmware
/
715 FILE
:=$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
716 MD5SUM
=eaba788643c7cc7483dd67ace70f6e99
718 $(eval
$(call Download
,net-ipw2200
))
720 define KernelPackage
/net-ipw2200
721 $(call KernelPackage
/mac80211
/Default
)
722 TITLE
:=Intel IPW2200 driver
723 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
724 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.ko
725 AUTOLOAD
:=$(call AutoProbe
,ipw2200
)
728 define KernelPackage
/net-ipw2200
/description
729 Kernel support for Intel IPW2200
735 define KernelPackage
/net-hermes
736 $(call KernelPackage
/mac80211
/Default
)
737 TITLE
:=Hermes
802.11b chipset support
738 DEPENDS
:=@PCI_SUPPORT||PCMCIA_SUPPORT
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
739 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco.ko
740 AUTOLOAD
:=$(call AutoProbe
,orinoco
)
743 define KernelPackage
/net-hermes
/description
744 Kernel support for Hermes
802.11b chipsets
747 define KernelPackage
/net-hermes-pci
748 $(call KernelPackage
/mac80211
/Default
)
749 TITLE
:=Intersil Prism
2.5 PCI support
750 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
751 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_pci.ko
752 AUTOLOAD
:=$(call AutoProbe
,orinoco_pci
)
755 define KernelPackage
/net-hermes-pci
/description
756 Kernel modules for Intersil Prism
2.5 PCI support
759 define KernelPackage
/net-hermes-plx
760 $(call KernelPackage
/mac80211
/Default
)
761 TITLE
:=PLX9052 based PCI adaptor
762 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
763 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_plx.ko
764 AUTOLOAD
:=$(call AutoProbe
,orinoco_plx
)
767 define KernelPackage
/net-hermes-plx
/description
768 Kernel modules for Hermes in PLX9052 based PCI adaptors
771 define KernelPackage
/net-hermes-pcmcia
772 $(call KernelPackage
/mac80211
/Default
)
773 TITLE
:=Hermes based PCMCIA adaptors
774 DEPENDS
:=@PCMCIA_SUPPORT
+kmod-net-hermes @BROKEN
775 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_cs.ko
776 AUTOLOAD
:=$(call AutoProbe
,orinoco_cs
)
779 define KernelPackage
/net-hermes-pcmcia
/description
780 Kernel modules for Hermes based PCMCIA adaptors
783 define KernelPackage
/iwlagn
784 $(call KernelPackage
/mac80211
/Default
)
785 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
+@DRIVER_11N_SUPPORT
786 TITLE
:=Intel AGN Wireless support
788 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/iwlwifi.ko \
789 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/dvm
/iwldvm.ko
790 AUTOLOAD
:=$(call AutoProbe
,iwlwifi iwldvm
)
794 define KernelPackage
/iwlagn
/description
795 iwlagn kernel module for Intel
5000/5150/1000/6000/6050/6005/6030/100 support
798 define KernelPackage
/iwlagn
/config
799 if PACKAGE_kmod-iwlagn
802 bool
"Intel 5000 Firmware"
805 Download and
install firmware for
:
806 Intel Wireless WiFi
5100AGN
, 5300AGN
, and
5350AGN
809 bool
"Intel 5150 Firmware"
812 Download and
install firmware for
:
813 Intel Wireless WiFi
5150AGN
816 bool
"Intel 1000 Firmware"
819 Download and
install firmware for
:
820 Intel Centrino Wireless-N
1000
823 bool
"Intel 6000 Firmware"
826 Download and
install firmware for
:
827 Intel Centrino Ultimate-N
6300 and Advanced-N
6200
830 bool
"Intel 6050 Firmware"
833 Download and
install firmware for
:
834 Intel Centrino Advanced-N
+ WiMAX
6250 and Wireless-N
+ WiMAX
6150
837 bool
"Intel 6005 Firmware"
840 Download and
install firmware for
:
841 Intel Centrino Advanced-N
6205
844 bool
"Intel 6030 Firmware"
847 Download and
install firmware for
:
848 Intel Centrino Advanced-N
6230, Wireless-N
1030, Wireless-N
130 and Advanced-N
6235
851 bool
"Intel 7260 Firmware"
854 Download and
install firmware for
:
855 Intel Dual Band Wireless-N
7260 and Intel Dual Band Wireless-AC
7260
858 bool
"Intel 100 Firmware"
861 Download and
install firmware for
:
862 Intel Centrino Wireless-N
100
865 bool
"Intel 2000 Firmware"
868 Download and
install firmware for
:
869 Intel Centrino Wireless-N
2200
872 bool
"Intel 2030 Firmware"
875 Download and
install firmware for
:
876 Intel Centrino Wireless-N
2230
879 bool
"Intel 105 Firmware"
882 Download and
install firmware for
:
883 Intel Centrino Wireless-N
105
886 bool
"Intel 135 Firmware"
889 Download and
install firmware for
:
890 Intel Centrino Wireless-N
135
894 define KernelPackage
/iwl-legacy
895 $(call KernelPackage
/mac80211
/Default
)
896 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
897 TITLE
:=Intel legacy Wireless support
898 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwlegacy.ko
899 AUTOLOAD
:=$(call AutoProbe
,iwlegacy
)
902 define KernelPackage
/iwl-legacy
/description
903 iwl-legacy kernel module for legacy Intel wireless support
906 define KernelPackage
/iwl3945
907 $(call KernelPackage
/mac80211
/Default
)
908 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
909 TITLE
:=Intel iwl3945 Wireless support
910 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl3945.ko
911 AUTOLOAD
:=$(call AutoProbe
,iwl3945
)
914 define KernelPackage
/iwl3945
/description
915 iwl3945 kernel module for Intel
3945 support
918 define KernelPackage
/iwl4965
919 $(call KernelPackage
/mac80211
/Default
)
920 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
+@DRIVER_11N_SUPPORT
921 TITLE
:=Intel iwl4965 Wireless support
922 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl4965.ko
923 AUTOLOAD
:=$(call AutoProbe
,iwl4965
)
926 define KernelPackage
/iwl4965
/description
927 iwl4965 kernel module for Intel
4965 support
931 define KernelPackage
/mwl8k
932 $(call KernelPackage
/mac80211
/Default
)
933 TITLE
:=Driver for Marvell TOPDOG
802.11 Wireless cards
934 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwl8k
935 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
936 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwl8k.ko
937 AUTOLOAD
:=$(call AutoProbe
,mwl8k
)
940 define KernelPackage
/mwl8k
/description
941 Kernel modules for Marvell TOPDOG
802.11 Wireless cards
945 define KernelPackage
/wlcore
946 $(call KernelPackage
/mac80211
/Default
)
947 TITLE
:=TI common driver part
948 DEPENDS
+= @TARGET_omap
+kmod-mac80211
+@DRIVER_11N_SUPPORT
950 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore.ko \
951 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore_sdio.ko
952 AUTOLOAD
:=$(call AutoProbe
,wlcore wlcore_sdio
)
955 define KernelPackage
/wlcore
/description
956 This module contains some common parts needed by TI Wireless drivers.
959 define KernelPackage
/wl12xx
960 $(call KernelPackage
/mac80211
/Default
)
961 TITLE
:=Driver for TI WL12xx
962 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl12xx
963 DEPENDS
+= +kmod-wlcore
964 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl12xx
/wl12xx.ko
965 AUTOLOAD
:=$(call AutoProbe
,wl12xx
)
968 define KernelPackage
/wl12xx
/description
969 Kernel modules for TI WL12xx
972 define KernelPackage
/wl18xx
973 $(call KernelPackage
/mac80211
/Default
)
974 TITLE
:=Driver for TI WL18xx
975 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl18xx
976 DEPENDS
+= +kmod-wlcore
977 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl18xx
/wl18xx.ko
978 AUTOLOAD
:=$(call AutoProbe
,wl18xx
)
981 define KernelPackage
/wl18xx
/description
982 Kernel modules for TI WL18xx
987 ifneq ($(CONFIG_B43_FW_5_10
),)
988 PKG_B43_FWV4_NAME
:=broadcom-wl
989 PKG_B43_FWV4_VERSION
:=5.10.56.27.3
990 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta
/wl_prebuilt.o
991 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)_mipsel.
tar.bz2
992 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
993 PKG_B43_FWV4_MD5SUM
:=3363e3a6b3d9d73c49dea870c7834eac
995 ifneq ($(CONFIG_B43_FW_4_178
),)
996 PKG_B43_FWV4_NAME
:=broadcom-wl
997 PKG_B43_FWV4_VERSION
:=4.178.10.4
998 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
999 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1000 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1001 PKG_B43_FWV4_MD5SUM
:=14477e8cbbb91b11896affac9b219fdb
1003 ifneq ($(CONFIG_B43_FW_5_100_138
),)
1004 PKG_B43_FWV4_NAME
:=broadcom-wl
1005 PKG_B43_FWV4_VERSION
:=5.100.138
1006 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1007 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1008 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1009 PKG_B43_FWV4_MD5SUM
:=f4e357b09eaf5d8b1f1920cf3493a555
1011 PKG_B43_FWV4_NAME
:=broadcom-wl
1012 PKG_B43_FWV4_VERSION
:=4.150.10.5
1013 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta_mimo.o
1014 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1015 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1016 PKG_B43_FWV4_MD5SUM
:=0c6ba9687114c6b598e8019e262d9a60
1020 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
1021 PKG_B43_FWV4_NAME
:=broadcom-wl
1022 PKG_B43_FWV4_VERSION
:=5.2
1023 PKG_B43_FWV4_OBJECT
:=openfwwf-
$(PKG_B43_FWV4_VERSION
)
1024 PKG_B43_FWV4_SOURCE
:=openfwwf-
$(PKG_B43_FWV4_VERSION
).
tar.gz
1025 PKG_B43_FWV4_SOURCE_URL
:=http
://www.ing.unibs.it
/openfwwf
/firmware
/
1026 PKG_B43_FWV4_MD5SUM
:=e045a135453274e439ae183f8498b0fa
1030 PKG_B43_FWV3_NAME
:=wl_apsta
1031 PKG_B43_FWV3_VERSION
:=3.130.20.0
1032 PKG_B43_FWV3_SOURCE
:=$(PKG_B43_FWV3_NAME
)-$(PKG_B43_FWV3_VERSION
).o
1033 PKG_B43_FWV3_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
1034 PKG_B43_FWV3_MD5SUM
:=e08665c5c5b66beb9c3b2dd54aa80cb3
1037 FILE
:=$(PKG_B43_FWV4_SOURCE
)
1038 URL
:=$(PKG_B43_FWV4_SOURCE_URL
)
1039 MD5SUM
:=$(PKG_B43_FWV4_MD5SUM
)
1041 $(eval
$(call Download
,b43
))
1043 define Download
/b43legacy
1044 FILE
:=$(PKG_B43_FWV3_SOURCE
)
1045 URL
:=$(PKG_B43_FWV3_SOURCE_URL
)
1046 MD5SUM
:=$(PKG_B43_FWV3_MD5SUM
)
1048 $(eval
$(call Download
,b43legacy
))
1051 define KernelPackage
/b43
1052 $(call KernelPackage
/mac80211
/Default
)
1053 TITLE
:=Broadcom
43xx wireless support
1054 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/b43
1057 DEPENDS
+= +kmod-mac80211
+!TARGET_brcm47xx
:kmod-bcma
+!(TARGET_brcm47xx||TARGET_brcm63xx
):kmod-ssb
1058 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43
/b43.ko
1059 AUTOLOAD
:=$(call AutoProbe
,b43
)
1063 define KernelPackage
/b43
/config
1067 prompt
"b43 firmware version"
1068 default B43_FW_5_100_138
1070 This option allows you to select the version of the b43 firmware.
1073 bool
"Firmware 410.2160 from driver 4.150.10.5 (old stable)"
1075 Stable firmware for BCM43xx devices.
1077 If unsure
, select this.
1080 bool
"Firmware 478.104 from driver 4.178.10.4"
1082 Experimental firmware for BCM43xx devices.
1084 This firmware is not tested
as much
as the
"stable" firmware.
1086 If unsure
, select the
"stable" firmware.
1089 bool
"Firmware 508.1084 from driver 5.10.56.27"
1091 Newer experimental firmware for BCM43xx devices.
1093 This firmware is mostly untested. It is needed for some N-PHY devices.
1095 If unsure
, select the
"stable" firmware.
1097 config B43_FW_5_100_138
1098 bool
"Firmware 666.2 from driver 5.100.138 (stable)"
1100 Newer experimental firmware for BCM43xx devices.
1102 This firmware is mostly untested. It is needed for some N-PHY devices.
1104 If unsure
, select the
"stable" firmware.
1106 config B43_OPENFIRMWARE
1107 bool
"Open FirmWare for WiFi networks"
1109 Opensource firmware for BCM43xx devices.
1111 Do _not_ select this
, unless you know what you are doing.
1112 The Opensource firmware is not suitable for embedded devices
, yet.
1113 It does not support QoS
, which is bad for AccessPoints.
1114 It does not support hardware crypto acceleration
, which is a showstopper
1115 for embedded devices with low CPU resources.
1117 If unsure
, select the
"stable" firmware.
1121 config B43_FW_SQUASH
1122 bool
"Remove unnecessary firmware files"
1123 depends on
!B43_OPENFIRMWARE
1126 This options allows you to remove unnecessary b43 firmware files
1127 from the final rootfs image. This can reduce the rootfs size by
1132 config B43_FW_SQUASH_COREREVS
1133 string
"Core revisions to include"
1134 depends on B43_FW_SQUASH
1135 default
"5,6,7,8,9,10,11,13,15,16,29"
1137 This is a comma seperated list of core revision numbers.
1139 Example
(keep files for rev5 only
):
1142 Example
(keep files for rev5 and rev11
):
1145 config B43_FW_SQUASH_PHYTYPES
1146 string
"PHY types to include"
1147 depends on B43_FW_SQUASH
1150 This is a comma seperated list of PHY types
:
1152 AG
=> Dual A-PHY G-PHY
1159 Example
(keep files for G-PHY only
):
1162 Example
(keep files for G-PHY and N-PHY
):
1165 config PACKAGE_B43_DEBUG
1166 bool
"Enable debug output and debugfs for b43"
1169 Enable additional debug output and runtime sanity checks for b43
1170 and enables the debugfs interface.
1174 config PACKAGE_B43_PIO
1175 bool
"Enable support for PIO transfer mode"
1178 Enable support for using PIO instead of DMA. Unless you have DMA
1179 transfer problems you don
't need this.
1183 config PACKAGE_B43_PHY_N
1184 bool "Enable support for N-PHYs"
1187 Enable support for N-PHY. This includes support for the following devices:
1188 PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
1189 SoC: BCM4716, BCM4717, BCM4718
1191 Currently only 11g speed is available.
1195 config PACKAGE_B43_PHY_HT
1196 bool "Enable support for HT-PHYs"
1199 Enable support for HT-PHY. This includes support for the following devices:
1202 Currently only 11g speed is available.
1206 config PACKAGE_B43_PHY_LCN
1207 bool "Enable support for LCN-PHYs"
1218 define KernelPackage/b43/description
1219 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
1222 define KernelPackage/b43legacy
1223 $(call KernelPackage/mac80211/Default)
1224 TITLE:=Broadcom 43xx-legacy wireless support
1225 URL:=http://linuxwireless.org/en/users/Drivers/b43
1228 DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
1229 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko
1230 AUTOLOAD:=$(call AutoProbe,b43legacy)
1234 define KernelPackage/b43legacy/config
1235 if PACKAGE_kmod-b43legacy
1237 config B43LEGACY_FW_SQUASH
1238 bool "Remove unnecessary firmware files"
1241 This options allows you to remove unnecessary b43legacy firmware files
1242 from the final rootfs image. This can reduce the rootfs size by
1247 config B43LEGACY_FW_SQUASH_COREREVS
1248 string "Core revisions to include"
1249 depends on B43LEGACY_FW_SQUASH
1252 This is a comma seperated list of core revision numbers.
1254 Example (keep files for rev4 only):
1257 Example (keep files for rev2 and rev4):
1263 define KernelPackage/b43legacy/description
1264 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
1268 define KernelPackage/brcmutil
1269 $(call KernelPackage/mac80211/Default)
1270 TITLE:=Broadcom IEEE802.11n common driver parts
1271 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1272 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
1273 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
1274 AUTOLOAD:=$(call AutoProbe,brcmutil)
1278 define KernelPackage/brcmutil/description
1279 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
1282 define KernelPackage/brcmutil/config
1283 if PACKAGE_kmod-brcmutil
1285 config PACKAGE_BRCM80211_DEBUG
1286 bool "Broadcom wireless driver debugging"
1288 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
1293 PKG_BRCMSMAC_FW_NAME:=broadcom-wl
1294 PKG_BRCMSMAC_FW_VERSION:=5.100.138
1295 PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
1296 PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
1297 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
1298 PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
1300 define Download/brcmsmac
1301 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
1302 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
1303 MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
1305 $(eval $(call Download,brcmsmac))
1307 define KernelPackage/brcmsmac
1308 $(call KernelPackage/mac80211/Default)
1309 TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
1310 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1311 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil
1312 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
1313 AUTOLOAD:=$(call AutoProbe,brcmsmac)
1317 define KernelPackage/brcmsmac/description
1318 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
1321 define KernelPackage/brcmsmac/config
1322 if PACKAGE_kmod-brcmsmac
1324 config BRCMSMAC_USE_FW_FROM_WL
1325 bool "Use firmware extracted from broadcom proprietary driver"
1328 Instead of using the official brcmsmac firmware a firmware
1329 version 666.2 extracted from the proprietary Broadcom driver
1330 is used. This is needed to get core rev 17 used in bcm4716
1339 define KernelPackage/brcmfmac
1340 $(call KernelPackage/mac80211/Default)
1341 TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
1342 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1343 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil
1344 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
1345 AUTOLOAD:=$(call AutoProbe,brcmfmac)
1348 define KernelPackage/brcmfmac/description
1349 Kernel module for Broadcom IEEE802.11n USB Wireless cards
1352 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1358 CFG80211_INTERNAL_REGDB \
1359 MAC80211_RC_MINSTREL \
1360 MAC80211_RC_MINSTREL_HT \
1361 MAC80211_RC_DEFAULT_MINSTREL \
1363 config-$(call config_package,cfg80211) += CFG80211
1365 config-$(call config_package,mac80211) += MAC80211
1366 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1367 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1378 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1380 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
1381 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
1383 config-$(call config_package,ath9k) += ATH9K
1384 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1385 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1386 config-$(CONFIG_PCI) += ATH9K_PCI
1387 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1389 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1390 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1392 config-$(call config_package,ath5k) += ATH5K
1393 ifdef CONFIG_TARGET_atheros
1394 config-y += ATH5K_AHB
1396 config-y += ATH5K_PCI
1399 config-$(call config_package,carl9170) += CARL9170
1401 config-$(call config_package,b43) += B43
1402 config-y += B43_SSB B43_BCMA B43_PHY_LP
1403 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1404 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1405 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1406 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1408 config-$(call config_package,b43legacy) += B43LEGACY
1409 config-y += B43LEGACY_DMA_MODE
1411 config-$(call config_package,brcmutil) += BRCMUTIL
1412 config-$(call config_package,brcmsmac) += BRCMSMAC
1413 config-$(call config_package,brcmfmac) += BRCMFMAC
1414 config-y += BRCMFMAC_USB
1415 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1417 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1419 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1420 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1421 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1422 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1423 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1424 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1426 config-$(call config_package,rt2400-pci) += RT2400PCI
1427 config-$(call config_package,rt2500-pci) += RT2500PCI
1428 config-$(call config_package,rt2500-usb) += RT2500USB
1429 config-$(call config_package,rt61-pci) += RT61PCI
1430 config-$(call config_package,rt73-usb) += RT73USB
1432 config-$(call config_package,rt2800-lib) += RT2800_LIB
1434 config-$(call config_package,rt2800-soc) += RT2800SOC
1435 config-$(call config_package,rt2800-pci) += RT2800PCI
1436 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1438 config-$(call config_package,rt2800-usb) += RT2800USB
1439 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX
1441 config-$(call config_package,iwl-legacy) += IWLEGACY
1442 config-$(call config_package,iwl3945) += IWL3945
1443 config-$(call config_package,iwl4965) += IWL4965
1444 config-$(call config_package,iwlagn) += IWLWIFI IWLDVM
1446 config-$(call config_package,net-libipw) += LIBIPW
1447 config-$(call config_package,net-ipw2100) += IPW2100
1448 config-$(call config_package,net-ipw2200) += IPW2200
1450 config-$(call config_package,p54-common) += P54_COMMON
1451 config-$(call config_package,p54-pci) += P54_PCI
1452 config-$(call config_package,p54-usb) += P54_USB
1453 config-$(call config_package,p54-spi) += P54_SPI
1455 config-$(call config_package,net-hermes) += HERMES
1456 config-$(call config_package,net-hermes-pci) += PCI_HERMES
1457 config-$(call config_package,net-hermes-plx) += PLX_HERMES
1458 config-$(call config_package,net-hermes-pcmcia) += PCMCIA_HERMES
1459 config-y += HERMES_PRISM
1461 config-$(call config_package,adm8211) += ADM8211
1462 config-$(call config_package,libertas-sd) += LIBERTAS LIBERTAS_SDIO
1463 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1464 config-$(call config_package,mwl8k) += MWL8K
1465 config-$(call config_package,rtl8180) += RTL8180
1466 config-$(call config_package,rtl8187) += RTL8187
1467 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1468 config-$(call config_package,wl12xx) += WL12XX
1469 config-$(call config_package,wl18xx) += WL18XX
1470 config-y += WL_TI WILINK_PLATFORM_DATA
1471 config-$(call config_package,zd1211rw) += ZD1211RW
1473 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1474 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1475 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1476 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1477 config-$(call config_package,rtl8192ce) += RTL8192CE
1478 config-$(call config_package,rtl8192se) += RTL8192SE
1479 config-$(call config_package,rtl8192de) += RTL8192DE
1480 config-$(call config_package,rtl8192cu) += RTL8192CU
1481 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1483 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1485 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1486 CROSS_COMPILE="$(KERNEL_CROSS)" \
1487 ARCH="$(LINUX_KARCH)" \
1488 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include" \
1489 KLIB_BUILD="$(LINUX_DIR)" \
1491 KLIB=$(TARGET_MODULES_DIR) \
1492 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1493 KBUILD_LDFLAGS_MODULE_PREREQ=
1495 ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
1500 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1504 define mac80211_config
1505 $(call ConfigVars,m)$(call ConfigVars,y)
1507 $(eval $(call shexport,mac80211_config))
1509 define Build/Prepare
1510 rm -rf $(PKG_BUILD_DIR)
1511 mkdir -p $(PKG_BUILD_DIR)
1514 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1515 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1516 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1517 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
1518 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE)
1520 $(PKG_BUILD_DIR)/include/linux/ssb \
1521 $(PKG_BUILD_DIR)/include/linux/bcma \
1522 $(PKG_BUILD_DIR)/include/net/bluetooth
1525 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1526 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1527 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1528 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1529 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1530 $(PKG_BUILD_DIR)/include/net/ieee80211.h
1532 echo 'compat-wireless-
$(PKG_VERSION
)-$(PKG_RELEASE
)-$(REVISION
)' > $(PKG_BUILD_DIR)/compat_version
1533 $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
1536 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1537 define Build/Compile/kmod
1538 rm -rf $(PKG_BUILD_DIR)/modules
1539 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1543 define Build/Configure
1544 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1545 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1546 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1549 define Build/Compile
1550 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1551 $(MAKE) $(MAKE_OPTS) allnoconfig
1552 $(call Build/Compile/kmod)
1555 define Build/InstallDev
1557 $(1)/usr/include/mac80211 \
1558 $(1)/usr/include/mac80211-backport \
1559 $(1)/usr/include/mac80211/ath \
1560 $(1)/usr/include/net/mac80211
1561 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1562 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1563 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1564 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1567 define KernelPackage/libertas-usb/install
1568 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1570 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8388_v9.bin \
1571 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8682.bin \
1572 $(1)/lib/firmware/libertas/
1575 define KernelPackage/libertas-sd/install
1576 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1578 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385_helper.bin \
1579 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385.bin \
1580 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9_helper.bin \
1581 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9.bin \
1582 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688_helper.bin \
1583 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688.bin \
1584 $(1)/lib/firmware/libertas
1587 define KernelPackage/cfg80211/install
1588 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1589 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1590 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1593 define KernelPackage/p54-pci/install
1594 $(INSTALL_DIR) $(1)/lib/firmware
1595 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
1598 define KernelPackage/p54-usb/install
1599 $(INSTALL_DIR) $(1)/lib/firmware
1600 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
1603 define KernelPackage/p54-spi/install
1604 $(INSTALL_DIR) $(1)/lib/firmware
1605 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
1608 define KernelPackage/rt61-pci/install
1609 $(INSTALL_DIR) $(1)/lib/firmware
1611 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561.bin \
1612 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561s.bin \
1613 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2661.bin \
1617 define KernelPackage/rt73-usb/install
1618 $(INSTALL_DIR) $(1)/lib/firmware
1619 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt73.bin $(1)/lib/firmware/
1622 define KernelPackage/rt2800-pci/install
1623 $(INSTALL_DIR) $(1)/lib/firmware
1625 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
1626 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
1630 define KernelPackage/rt2800-usb/install
1631 $(INSTALL_DIR) $(1)/lib/firmware
1632 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/
1635 define KernelPackage/wl12xx/install
1636 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1638 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-mr.bin \
1639 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-plt.bin \
1640 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-sr.bin \
1641 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl1271-nvs.bin \
1642 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-mr.bin \
1643 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-plt.bin \
1644 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-sr.bin \
1645 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-nvs.bin \
1646 $(1)/lib/firmware/ti-connectivity
1649 define KernelPackage/wl18xx/install
1650 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1652 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-conf.bin \
1653 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-fw-3.bin \
1654 $(1)/lib/firmware/ti-connectivity
1657 define KernelPackage/zd1211rw/install
1658 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1659 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1662 define KernelPackage/carl9170/install
1663 $(INSTALL_DIR) $(1)/lib/firmware
1664 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/carl9170-1.fw $(1)/lib/firmware
1667 define KernelPackage/ath9k-htc/install
1668 $(INSTALL_DIR) $(1)/lib/firmware
1670 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
1671 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
1675 define KernelPackage/ath10k/install
1676 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
1677 ifeq ($(CONFIG_ATH10K_STA_FW),y)
1679 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1680 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1682 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/main/firmware-2.bin_999.999.0.636 \
1683 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
1686 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1687 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/firmware-2.bin \
1688 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1692 define KernelPackage/mwl8k/install
1693 $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
1695 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366_ap-3.fw \
1696 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366.fw \
1697 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8366.fw \
1698 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8687.fw \
1699 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8687.fw \
1700 $(1)/lib/firmware/mwl8k/
1703 define KernelPackage/net-ipw2100/install
1704 $(INSTALL_DIR) $(1)/lib/firmware
1705 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1708 define KernelPackage/net-ipw2200/install
1709 $(INSTALL_DIR) $(1)/lib/firmware
1710 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1713 define KernelPackage/iwlagn/install
1714 $(INSTALL_DIR) $(1)/lib/firmware
1715 ifneq ($(CONFIG_IWL5000_FW),)
1716 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5000-5.ucode $(1)/lib/firmware
1718 ifneq ($(CONFIG_IWL5150_FW),)
1719 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
1721 ifneq ($(CONFIG_IWL1000_FW),)
1722 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
1724 ifneq ($(CONFIG_IWL6000_FW),)
1725 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
1727 ifneq ($(CONFIG_IWL6050_FW),)
1728 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
1730 ifneq ($(CONFIG_IWL6005_FW),)
1731 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
1733 ifneq ($(CONFIG_IWL6030_FW),)
1734 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
1736 ifneq ($(CONFIG_IWL7260_FW),)
1737 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-7.ucode $(1)/lib/firmware
1739 ifneq ($(CONFIG_IWL100_FW),)
1740 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
1742 ifneq ($(CONFIG_IWL2000_FW),)
1743 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
1745 ifneq ($(CONFIG_IWL2030_FW),)
1746 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
1748 ifneq ($(CONFIG_IWL105_FW),)
1749 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
1751 ifneq ($(CONFIG_IWL135_FW),)
1752 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
1756 define KernelPackage/iwl3945/install
1757 $(INSTALL_DIR) $(1)/lib/firmware
1758 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3945-2.ucode $(1)/lib/firmware
1761 define KernelPackage/iwl4965/install
1762 $(INSTALL_DIR) $(1)/lib/firmware
1763 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-4965-2.ucode $(1)/lib/firmware
1766 define KernelPackage/b43/install
1767 rm -rf $(1)/lib/firmware/
1768 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1769 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1771 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1773 $(INSTALL_DIR) $(1)/lib/firmware/
1774 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1775 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1776 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
1777 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
1778 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
1779 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
1781 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1783 ifneq ($(CONFIG_B43_FW_SQUASH),)
1784 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1788 define KernelPackage/b43legacy/install
1789 $(INSTALL_DIR) $(1)/lib/firmware/
1790 b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
1791 ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),)
1792 b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
1796 define KernelPackage/brcmsmac/install
1797 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1798 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
1799 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
1800 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
1803 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
1804 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
1805 $(1)/lib/firmware/brcm/
1809 define KernelPackage/brcmfmac/install
1810 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1812 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
1813 $(1)/lib/firmware/brcm/
1816 $(eval $(call KernelPackage,adm8211))
1817 $(eval $(call KernelPackage,ath5k))
1818 $(eval $(call KernelPackage,lib80211))
1819 $(eval $(call KernelPackage,libertas-usb))
1820 $(eval $(call KernelPackage,libertas-sd))
1821 $(eval $(call KernelPackage,cfg80211))
1822 $(eval $(call KernelPackage,mac80211))
1823 $(eval $(call KernelPackage,p54-common))
1824 $(eval $(call KernelPackage,p54-pci))
1825 $(eval $(call KernelPackage,p54-usb))
1826 $(eval $(call KernelPackage,p54-spi))
1827 $(eval $(call KernelPackage,rt2x00-lib))
1828 $(eval $(call KernelPackage,rt2x00-mmio))
1829 $(eval $(call KernelPackage,rt2x00-pci))
1830 $(eval $(call KernelPackage,rt2x00-usb))
1831 $(eval $(call KernelPackage,rt2800-lib))
1832 $(eval $(call KernelPackage,rt2400-pci))
1833 $(eval $(call KernelPackage,rt2500-pci))
1834 $(eval $(call KernelPackage,rt2500-usb))
1835 $(eval $(call KernelPackage,rt61-pci))
1836 $(eval $(call KernelPackage,rt73-usb))
1837 $(eval $(call KernelPackage,rt2800-mmio))
1838 $(eval $(call KernelPackage,rt2800-soc))
1839 $(eval $(call KernelPackage,rt2800-pci))
1840 $(eval $(call KernelPackage,rt2800-usb))
1841 $(eval $(call KernelPackage,rtl8180))
1842 $(eval $(call KernelPackage,rtl8187))
1843 $(eval $(call KernelPackage,rtlwifi))
1844 $(eval $(call KernelPackage,rtlwifi-pci))
1845 $(eval $(call KernelPackage,rtlwifi-usb))
1846 $(eval $(call KernelPackage,rtl8192c-common))
1847 $(eval $(call KernelPackage,rtl8192ce))
1848 $(eval $(call KernelPackage,rtl8192se))
1849 $(eval $(call KernelPackage,rtl8192de))
1850 $(eval $(call KernelPackage,rtl8192cu))
1851 $(eval $(call KernelPackage,zd1211rw))
1852 $(eval $(call KernelPackage,mac80211-hwsim))
1853 $(eval $(call KernelPackage,ath9k-common))
1854 $(eval $(call KernelPackage,ath9k))
1855 $(eval $(call KernelPackage,ath9k-htc))
1856 $(eval $(call KernelPackage,ath10k))
1857 $(eval $(call KernelPackage,ath))
1858 $(eval $(call KernelPackage,carl9170))
1859 $(eval $(call KernelPackage,b43))
1860 $(eval $(call KernelPackage,b43legacy))
1861 $(eval $(call KernelPackage,brcmutil))
1862 $(eval $(call KernelPackage,brcmsmac))
1863 $(eval $(call KernelPackage,brcmfmac))
1864 $(eval $(call KernelPackage,net-libipw))
1865 $(eval $(call KernelPackage,net-ipw2100))
1866 $(eval $(call KernelPackage,net-ipw2200))
1867 $(eval $(call KernelPackage,iwlagn))
1868 $(eval $(call KernelPackage,iwl-legacy))
1869 $(eval $(call KernelPackage,iwl4965))
1870 $(eval $(call KernelPackage,iwl3945))
1871 $(eval $(call KernelPackage,mwl8k))
1872 $(eval $(call KernelPackage,net-hermes))
1873 $(eval $(call KernelPackage,net-hermes-pci))
1874 $(eval $(call KernelPackage,net-hermes-plx))
1875 $(eval $(call KernelPackage,net-hermes-pcmcia))
1876 $(eval $(call KernelPackage,wlcore))
1877 $(eval $(call KernelPackage,wl12xx))
1878 $(eval $(call KernelPackage,wl18xx))