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-05-22
15 PKG_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
16 PKG_BACKPORT_VERSION
:=
17 PKG_MD5SUM
:=367937d4f8c05cb36ca989ee26abc3df
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_ATH_DFS \
43 CONFIG_PACKAGE_B43_DEBUG \
44 CONFIG_PACKAGE_B43_PIO \
45 CONFIG_PACKAGE_B43_N_PHY \
46 CONFIG_PACKAGE_RTLWIFI_DEBUG \
47 CONFIG_ATH_USER_REGD \
49 include $(INCLUDE_DIR
)/package.mk
51 WMENU
:=Wireless Drivers
53 define KernelPackage
/mac80211
/Default
55 URL
:=http
://linuxwireless.org
/
56 MAINTAINER
:=Felix Fietkau
<nbd@openwrt.org
>
57 DEPENDS
:=@
(!(TARGET_avr32||TARGET_ps3||TARGET_pxcab
)||BROKEN
)
60 define KernelPackage
/cfg80211
61 $(call KernelPackage
/mac80211
/Default
)
62 TITLE
:=cfg80211
- wireless configuration API
65 $(PKG_BUILD_DIR
)/compat
/compat.ko \
66 $(PKG_BUILD_DIR
)/net
/wireless
/cfg80211.ko
69 define KernelPackage
/cfg80211
/description
70 cfg80211 is the Linux wireless LAN
(802.11) configuration API.
73 define KernelPackage
/mac80211
74 $(call KernelPackage
/mac80211
/Default
)
75 TITLE
:=Linux
802.11 Wireless Networking Stack
76 DEPENDS
+= +kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-cfg80211
+hostapd-common
79 FILES
:= $(PKG_BUILD_DIR
)/net
/mac80211
/mac80211.ko
83 define KernelPackage
/mac80211
/config
84 if PACKAGE_kmod-mac80211
86 config PACKAGE_MAC80211_DEBUGFS
87 bool
"Export mac80211 internals in DebugFS"
88 select KERNEL_DEBUG_FS
89 select KERNEL_RELAY if PACKAGE_kmod-ath9k-common
92 Select this to see extensive information about
93 the internal state of mac80211 in debugfs.
95 config PACKAGE_MAC80211_MESH
96 bool
"Enable 802.11s mesh support"
102 define KernelPackage
/mac80211
/description
103 Generic IEEE
802.11 Networking Stack
(mac80211
)
106 PKG_LINUX_FIRMWARE_NAME
:=linux-firmware
107 PKG_LINUX_FIRMWARE_VERSION
:=f8c22c692bdee57a20b092e647464ff6176df3ed
108 PKG_LINUX_FIRMWARE_SOURCE
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
).
tar.bz2
109 PKG_LINUX_FIRMWARE_PROTO
:=git
110 PKG_LINUX_FIRMWARE_SOURCE_URL
:=git
://git.kernel.org
/pub
/scm
/linux
/kernel
/git
/firmware
/linux-firmware.git
111 PKG_LINUX_FIRMWARE_SUBDIR
:=$(PKG_LINUX_FIRMWARE_NAME
)-$(PKG_LINUX_FIRMWARE_VERSION
)
112 PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
:=e219333f01835c6e556875a9e0deb3f9
114 define Download
/linux-firmware
115 FILE
:=$(PKG_LINUX_FIRMWARE_SOURCE
)
116 URL
:=$(PKG_LINUX_FIRMWARE_SOURCE_URL
)
117 MD5SUM
:=$(PKG_LINUX_FIRMWARE_MD5SUM
)
118 PROTO
:=$(PKG_LINUX_FIRMWARE_PROTO
)
119 VERSION
:=$(PKG_LINUX_FIRMWARE_VERSION
)
120 SUBDIR
:=$(PKG_LINUX_FIRMWARE_SUBDIR
)
121 MIRROR_MD5SUM
:=$(PKG_LINUX_FIRMWARE_MIRROR_MD5SUM
)
123 $(eval
$(call Download
,linux-firmware
))
125 PKG_ATH10K_LINUX_FIRMWARE_NAME
:=ath10k-firmware
126 PKG_ATH10K_LINUX_FIRMWARE_VERSION
:=38eeda3ae6f90fde5546bdd48ee4ff3090f238c0
127 PKG_ATH10K_LINUX_FIRMWARE_SOURCE
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
).
tar.bz2
128 PKG_ATH10K_LINUX_FIRMWARE_PROTO
:=git
129 PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
:=https
://github.com
/kvalo
/ath10k-firmware.git
130 PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_NAME
)-$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
131 #PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM:=?
133 define Download
/ath10k-firmware
134 FILE
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE
)
135 URL
:=$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE_URL
)
136 PROTO
:=$(PKG_ATH10K_LINUX_FIRMWARE_PROTO
)
137 VERSION
:=$(PKG_ATH10K_LINUX_FIRMWARE_VERSION
)
138 SUBDIR
:=$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR
)
139 #MIRROR_MD5SUM:=$(PKG_ATH10K_LINUX_FIRMWARE_MIRROR_MD5SUM)
141 $(eval
$(call Download
,ath10k-firmware
))
144 P54PCIFW
:=2.13.12.0.arm
145 P54USBFW
:=2.13.24.0.lm87.arm
146 P54SPIFW
:=2.13.0.0.a
.13.14.arm
148 define Download
/p54usb
150 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-usb
151 MD5SUM
:=8e8ab005a4f8f0123bcdc51bc25b47f6
153 $(eval
$(call Download
,p54usb
))
155 define Download
/p54pci
157 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-softmac
158 MD5SUM
:=ff7536af2092b1c4b21315bd103ef4c4
160 $(eval
$(call Download
,p54pci
))
162 define Download
/p54spi
164 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/stlc4560
165 MD5SUM
:=42661f8ecbadd88012807493f596081d
167 $(eval
$(call Download
,p54spi
))
169 define KernelPackage
/p54
/Default
170 $(call KernelPackage
/mac80211
/Default
)
171 TITLE
:=Prism54 Drivers
174 define KernelPackage
/p54
/description
175 Kernel module for Prism54 chipsets
(mac80211
)
178 define KernelPackage
/p54-common
179 $(call KernelPackage
/p54
/Default
)
180 DEPENDS
+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx
+kmod-mac80211
+kmod-lib-crc-ccitt
182 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54common.ko
185 define KernelPackage
/p54-pci
186 $(call KernelPackage
/p54
/Default
)
188 DEPENDS
+= @PCI_SUPPORT
+kmod-p54-common
189 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54pci.ko
190 AUTOLOAD
:=$(call AutoProbe
,p54pci
)
193 define KernelPackage
/p54-usb
194 $(call KernelPackage
/p54
/Default
)
196 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-p54-common
197 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54usb.ko
198 AUTOLOAD
:=$(call AutoProbe
,p54usb
)
201 define KernelPackage
/p54-spi
202 $(call KernelPackage
/p54
/Default
)
204 DEPENDS
+= @TARGET_omap24xx
+kmod-p54-common
205 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/p54
/p54spi.ko
206 AUTOLOAD
:=$(call AutoProbe
,p54spi
)
209 define KernelPackage
/rt2x00
/Default
210 $(call KernelPackage
/mac80211
/Default
)
211 TITLE
:=Ralink Drivers for RT2x00 cards
214 define KernelPackage
/rt2x00-lib
215 $(call KernelPackage
/rt2x00
/Default
)
216 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-mac80211
+kmod-lib-crc-itu-t
218 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00lib.ko
222 define KernelPackage
/rt2x00-lib
/config
223 if PACKAGE_kmod-rt2x00-lib
225 config PACKAGE_RT2X00_LIB_DEBUGFS
226 bool
"Enable rt2x00 debugfs support"
227 depends on PACKAGE_MAC80211_DEBUGFS
229 Enable creation of debugfs files for the rt2x00 drivers.
230 These debugfs files support both reading and writing of the
231 most important register types of the rt2x00 hardware.
233 config PACKAGE_RT2X00_DEBUG
234 bool
"Enable rt2x00 debug output"
236 Enable debugging output for
all rt2x00 modules
241 define KernelPackage
/rt2x00-mmio
242 $(call KernelPackage
/rt2x00
/Default
)
243 DEPENDS
+= @
(PCI_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-eeprom-93cx6
246 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00mmio.ko
249 define KernelPackage
/rt2x00-pci
250 $(call KernelPackage
/rt2x00
/Default
)
251 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-mmio
+kmod-rt2x00-lib
254 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00pci.ko
255 AUTOLOAD
:=$(call AutoProbe
,rt2x00pci
)
258 define KernelPackage
/rt2x00-usb
259 $(call KernelPackage
/rt2x00
/Default
)
260 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-lib
+kmod-usb-core
263 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00usb.ko
264 AUTOLOAD
:=$(call AutoProbe
,rt2x00usb
)
267 define KernelPackage
/rt2800-lib
268 $(call KernelPackage
/rt2x00
/Default
)
269 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips
) +kmod-rt2x00-lib
+kmod-lib-crc-ccitt
+@DRIVER_11N_SUPPORT
272 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800lib.ko
275 define KernelPackage
/rt2400-pci
276 $(call KernelPackage
/rt2x00
/Default
)
277 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
279 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2400pci.ko
280 AUTOLOAD
:=$(call AutoProbe
,rt2400pci
)
283 define KernelPackage
/rt2500-pci
284 $(call KernelPackage
/rt2x00
/Default
)
285 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
287 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500pci.ko
288 AUTOLOAD
:=$(call AutoProbe
,rt2500pci
)
291 define KernelPackage
/rt2500-usb
292 $(call KernelPackage
/rt2x00
/Default
)
293 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
295 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2500usb.ko
296 AUTOLOAD
:=$(call AutoProbe
,rt2500usb
)
299 define KernelPackage
/rt61-pci
300 $(call KernelPackage
/rt2x00
/Default
)
301 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
303 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt61pci.ko
304 AUTOLOAD
:=$(call AutoProbe
,rt61pci
)
307 define KernelPackage
/rt73-usb
308 $(call KernelPackage
/rt2x00
/Default
)
309 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
311 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt73usb.ko
312 AUTOLOAD
:=$(call AutoProbe
,rt73usb
)
315 define KernelPackage
/rt2800-mmio
316 $(call KernelPackage
/rt2x00
/Default
)
317 TITLE
+= (RT28xx
/RT3xxx MMIO
)
318 DEPENDS
+= +kmod-rt2800-lib
+kmod-rt2x00-mmio
320 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800mmio.ko
323 define KernelPackage
/rt2800-soc
324 $(call KernelPackage
/rt2x00
/Default
)
325 DEPENDS
+= @
(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883
) +kmod-rt2800-mmio
+kmod-rt2800-lib
326 TITLE
+= (RT28xx
/RT3xxx SoC
)
328 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2x00soc.ko \
329 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800soc.ko
330 AUTOLOAD
:=$(call AutoProbe
,rt2800soc
)
333 define KernelPackage
/rt2800-pci
334 $(call KernelPackage
/rt2x00
/Default
)
335 DEPENDS
+= @PCI_SUPPORT
+kmod-rt2x00-pci
+kmod-rt2800-lib
+kmod-rt2800-mmio
337 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800pci.ko
338 AUTOLOAD
:=$(call AutoProbe
,rt2800pci
)
341 define KernelPackage
/rt2800-usb
342 $(call KernelPackage
/rt2x00
/Default
)
343 DEPENDS
+= @USB_SUPPORT
+kmod-rt2x00-usb
+kmod-rt2800-lib
+kmod-lib-crc-ccitt
345 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rt2x00
/rt2800usb.ko
346 AUTOLOAD
:=$(call AutoProbe
,rt2800usb
)
349 define KernelPackage
/rtl818x
/Default
350 $(call KernelPackage
/mac80211
/Default
)
351 TITLE
:=Realtek Drivers for RTL818x devices
352 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/rtl8187
353 DEPENDS
+= +kmod-eeprom-93cx6
+kmod-mac80211
356 define KernelPackage
/rtl8180
357 $(call KernelPackage
/rtl818x
/Default
)
358 DEPENDS
+= @PCI_SUPPORT
359 TITLE
+= (RTL8180 PCI
)
360 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8180
/rtl818x_pci.ko
361 AUTOLOAD
:=$(call AutoProbe
,rtl818x_pci
)
364 define KernelPackage
/rtl8187
365 $(call KernelPackage
/rtl818x
/Default
)
366 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
367 TITLE
+= (RTL8187 USB
)
368 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtl818x
/rtl8187
/rtl8187.ko
369 AUTOLOAD
:=$(call AutoProbe
,rtl8187
)
372 define KernelPackage
/rtlwifi
/config
374 depends on PACKAGE_kmod-rtlwifi
376 config PACKAGE_RTLWIFI_DEBUG
377 bool
"Realtek wireless debugging"
379 Say Y
, if you want to debug realtek wireless drivers.
384 define KernelPackage
/rtlwifi
385 $(call KernelPackage
/mac80211
/Default
)
386 TITLE
:=Realtek common driver part
387 DEPENDS
+= @
(PCI_SUPPORT||USB_SUPPORT
) +kmod-mac80211
+@DRIVER_11N_SUPPORT
388 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtlwifi.ko
392 define KernelPackage
/rtlwifi-pci
393 $(call KernelPackage
/mac80211
/Default
)
394 TITLE
:=Realtek common driver part
(PCI support
)
395 DEPENDS
+= @PCI_SUPPORT
+kmod-rtlwifi
396 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_pci.ko
397 AUTOLOAD
:=$(call AutoProbe
,rtl_pci
)
401 define KernelPackage
/rtlwifi-usb
402 $(call KernelPackage
/mac80211
/Default
)
403 TITLE
:=Realtek common driver part
(USB support
)
404 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-rtlwifi
405 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl_usb.ko
406 AUTOLOAD
:=$(call AutoProbe
,rtl_usb
)
410 define KernelPackage
/rtl8192c-common
411 $(call KernelPackage
/mac80211
/Default
)
412 TITLE
:=Realtek RTL8192CE
/RTL8192CU common support module
413 DEPENDS
+= +kmod-rtlwifi
414 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192c
/rtl8192c-common.ko
418 define KernelPackage
/rtl8192ce
419 $(call KernelPackage
/mac80211
/Default
)
420 TITLE
:=Realtek RTL8192CE
/RTL8188CE support
421 DEPENDS
+= +kmod-rtlwifi-pci
+kmod-rtl8192c-common
422 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192ce
/rtl8192ce.ko
423 AUTOLOAD
:=$(call AutoProbe
,rtl8192ce
)
426 define KernelPackage
/rtl8192ce
/install
427 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
428 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cfw.bin
$(1)/lib
/firmware
/rtlwifi
431 define KernelPackage
/rtl8192se
432 $(call KernelPackage
/mac80211
/Default
)
433 TITLE
:=Realtek RTL8192SE
/RTL8191SE support
434 DEPENDS
+= +kmod-rtlwifi-pci
435 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192se
/rtl8192se.ko
436 AUTOLOAD
:=$(call AutoProbe
,rtl8192se
)
439 define KernelPackage
/rtl8192se
/install
440 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
441 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192sefw.bin
$(1)/lib
/firmware
/rtlwifi
444 define KernelPackage
/rtl8192de
445 $(call KernelPackage
/mac80211
/Default
)
446 TITLE
:=Realtek RTL8192DE
/RTL8188DE support
447 DEPENDS
+= +kmod-rtlwifi-pci
448 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192de
/rtl8192de.ko
449 AUTOLOAD
:=$(call AutoProbe
,rtl8192de
)
452 define KernelPackage
/rtl8192de
/install
453 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
454 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192defw.bin
$(1)/lib
/firmware
/rtlwifi
457 define KernelPackage
/rtl8192cu
458 $(call KernelPackage
/mac80211
/Default
)
459 TITLE
:=Realtek RTL8192CU
/RTL8188CU support
460 DEPENDS
+= +kmod-rtlwifi-usb
+kmod-rtl8192c-common
461 FILES
:= $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/rtlwifi
/rtl8192cu
/rtl8192cu.ko
462 AUTOLOAD
:=$(call AutoProbe
,rtl8192cu
)
465 define KernelPackage
/rtl8192cu
/install
466 $(INSTALL_DIR
) $(1)/lib
/firmware
/rtlwifi
467 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw.bin
$(1)/lib
/firmware
/rtlwifi
468 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/$(PKG_LINUX_FIRMWARE_SUBDIR
)/rtlwifi
/rtl8192cufw_TMSC.bin
$(1)/lib
/firmware
/rtlwifi
471 ZD1211FW_NAME
:=zd1211-firmware
472 ZD1211FW_VERSION
:=1.4
473 define Download
/zd1211rw
474 FILE
:=$(ZD1211FW_NAME
)-$(ZD1211FW_VERSION
).
tar.bz2
476 MD5SUM
:=19f28781d76569af8551c9d11294c870
478 $(eval
$(call Download
,zd1211rw
))
480 define KernelPackage
/zd1211rw
481 $(call KernelPackage
/mac80211
/Default
)
482 TITLE
:=Zydas ZD1211 support
483 DEPENDS
+= @USB_SUPPORT
+kmod-usb-core
+kmod-mac80211
484 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/zd1211rw
/zd1211rw.ko
485 AUTOLOAD
:=$(call AutoProbe
,zd1211rw
)
488 define KernelPackage
/adm8211
489 $(call KernelPackage
/mac80211
/Default
)
490 TITLE
:=ADMTek
8211 support
491 DEPENDS
+=@PCI_SUPPORT
+kmod-mac80211
+kmod-eeprom-93cx6
492 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/adm8211.ko
493 AUTOLOAD
:=$(call AutoProbe
,adm8211
)
496 define KernelPackage
/ath
/config
499 bool
"Force Atheros drivers to respect the user's regdomain settings"
501 Atheros
' idea of regulatory handling is that the EEPROM of the card defines
502 the regulatory limits and the user is only allowed to restrict the settings
503 even further, even if the country allows frequencies or power levels that
504 are forbidden by the EEPROM settings.
506 Select this option if you want the driver to respect the user's decision about
509 config PACKAGE_ATH_DEBUG
510 bool
"Atheros wireless debugging"
512 Say Y
, if you want to debug atheros wireless drivers.
513 Right now only ath9k makes use of this.
515 config PACKAGE_ATH_DFS
516 bool
"Enable DFS support"
518 Dynamic frequency selection
(DFS
) is required for most of the
5 GHz band
519 channels in Europe
, US
, and Japan.
521 Select this option if you want to use such channels. Only EU
(ETSI
) DFS
522 is supported at the moment.
527 define KernelPackage
/ath
528 $(call KernelPackage
/mac80211
/Default
)
529 TITLE
:=Atheros common driver part
530 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_atheros
+kmod-mac80211
531 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath.ko
535 define KernelPackage
/ath
/description
536 This module contains some common parts needed by Atheros Wireless drivers.
539 define KernelPackage
/ath5k
540 $(call KernelPackage
/mac80211
/Default
)
541 TITLE
:=Atheros
5xxx wireless cards support
542 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath5k
543 DEPENDS
+= @PCI_SUPPORT||@TARGET_atheros
+kmod-ath
544 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath5k
/ath5k.ko
545 AUTOLOAD
:=$(call AutoProbe
,ath5k
)
548 define KernelPackage
/ath5k
/description
549 This module adds support for wireless adapters based on
550 Atheros
5xxx chipset.
553 define KernelPackage
/ath9k-common
554 $(call KernelPackage
/mac80211
/Default
)
555 TITLE
:=Atheros
802.11n wireless devices
(common code for ath9k and ath9k_htc
)
556 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
557 DEPENDS
+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx
+kmod-ath
+@DRIVER_11N_SUPPORT
559 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_common.ko \
560 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_hw.ko
563 define KernelPackage
/ath9k
564 $(call KernelPackage
/mac80211
/Default
)
565 TITLE
:=Atheros
802.11n PCI wireless cards support
566 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
567 DEPENDS
+= @PCI_SUPPORT||TARGET_ar71xx
+kmod-ath9k-common
569 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k.ko
570 AUTOLOAD
:=$(call AutoProbe
,ath9k
)
573 define KernelPackage
/ath9k
/description
574 This module adds support for wireless adapters based on
575 Atheros IEEE
802.11n AR5008 and AR9001 family of chipsets.
578 define KernelPackage
/ath9k-htc
579 $(call KernelPackage
/mac80211
/Default
)
580 TITLE
:=Atheros
802.11n USB device support
581 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/ath9k
582 DEPENDS
+= @USB_SUPPORT
+kmod-ath9k-common
+kmod-usb-core
584 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath9k
/ath9k_htc.ko
585 AUTOLOAD
:=$(call AutoProbe
,ath9k_htc
)
588 define KernelPackage
/ath9k-htc
/description
589 This module adds support for wireless adapters based on
590 Atheros USB AR9271 and AR7010 family of chipsets.
593 define KernelPackage
/ath10k
594 $(call KernelPackage
/mac80211
/Default
)
595 TITLE
:=Atheros
802.11ac wireless cards support
596 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/ath10k
597 DEPENDS
+= @PCI_SUPPORT
+kmod-ath
+@DRIVER_11N_SUPPORT
599 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_core.ko \
600 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/ath10k
/ath10k_pci.ko
601 AUTOLOAD
:=$(call AutoLoad
,55,ath10k_core ath10k_pci
)
604 define KernelPackage
/ath10k
/description
605 This module adds support for wireless adapters based on
606 Atheros IEEE
802.11ac family of chipsets. For now only
610 define KernelPackage
/ath10k
/config
611 if PACKAGE_kmod-ath10k
614 bool
"Firmware optimized for STA operation"
617 Use the ath10k firmware optimized for wireless client instead
618 of access point operation.
623 define KernelPackage
/carl9170
624 $(call KernelPackage
/mac80211
/Default
)
625 TITLE
:=Driver for Atheros AR9170 USB sticks
626 DEPENDS
:=@USB_SUPPORT
+kmod-mac80211
+kmod-ath
+kmod-usb-core
+kmod-input-core
+@DRIVER_11N_SUPPORT
627 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ath
/carl9170
/carl9170.ko
628 AUTOLOAD
:=$(call AutoProbe
,carl9170
)
631 define KernelPackage
/lib80211
632 $(call KernelPackage
/mac80211
/Default
)
633 TITLE
:=802.11 Networking stack
634 DEPENDS
:=+kmod-cfg80211
636 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211.ko \
637 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_wep.ko \
638 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_ccmp.ko \
639 $(PKG_BUILD_DIR
)/net
/wireless
/lib80211_crypt_tkip.ko
640 AUTOLOAD
:=$(call AutoProbe
, \
643 lib80211_crypt_ccmp \
644 lib80211_crypt_tkip \
648 define KernelPackage
/lib80211
/description
649 Kernel modules for
802.11 Networking stack
653 - lib80211_crypt_tkip
654 - lib80211_crytp_ccmp
657 define KernelPackage
/libertas-usb
658 $(call KernelPackage
/mac80211
/Default
)
659 DEPENDS
+= @USB_SUPPORT
+kmod-cfg80211
+kmod-usb-core
+kmod-lib80211
+@DRIVER_WEXT_SUPPORT
660 TITLE
:=Marvell
88W8015 Wireless Driver
662 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
663 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/usb8xxx.ko
664 AUTOLOAD
:=$(call AutoProbe
,libertas usb8xxx
)
667 define KernelPackage
/libertas-sd
668 $(call KernelPackage
/mac80211
/Default
)
669 DEPENDS
+= +kmod-cfg80211
+kmod-lib80211
+kmod-mmc
+@DRIVER_WEXT_SUPPORT @
!TARGET_uml
670 TITLE
:=Marvell
88W8686 Wireless Driver
672 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas.ko \
673 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/libertas
/libertas_sdio.ko
674 AUTOLOAD
:=$(call AutoProbe
,libertas libertas_sdio
)
677 define KernelPackage
/mac80211-hwsim
678 $(call KernelPackage
/mac80211
/Default
)
679 TITLE
:=mac80211 HW simulation device
680 DEPENDS
+= +kmod-mac80211
681 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mac80211_hwsim.ko
682 AUTOLOAD
:=$(call AutoProbe
,mac80211_hwsim
)
685 define KernelPackage
/net-libipw
686 $(call KernelPackage
/mac80211
/Default
)
687 TITLE
:=libipw for ipw2100 and ipw2200
688 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-core
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic
+kmod-lib80211
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
689 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.ko
690 AUTOLOAD
:=$(call AutoProbe
,libipw
)
693 define KernelPackage
/net-libipw
/description
694 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
697 IPW2100_NAME
:=ipw2100-fw
700 define Download
/net-ipw2100
701 URL
:=http
://bughost.org
/firmware
/
702 FILE
:=$(IPW2100_NAME
)-$(IPW2100_VERSION
).tgz
703 MD5SUM
=46aa75bcda1a00efa841f9707bbbd113
705 $(eval
$(call Download
,net-ipw2100
))
707 define KernelPackage
/net-ipw2100
708 $(call KernelPackage
/mac80211
/Default
)
709 TITLE
:=Intel IPW2100 driver
710 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
711 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.ko
712 AUTOLOAD
:=$(call AutoProbe
,ipw2100
)
715 define KernelPackage
/net-ipw2100
/description
716 Kernel support for Intel IPW2100
721 IPW2200_NAME
:=ipw2200-fw
724 define Download
/net-ipw2200
725 URL
:=http
://bughost.org
/firmware
/
726 FILE
:=$(IPW2200_NAME
)-$(IPW2200_VERSION
).tgz
727 MD5SUM
=eaba788643c7cc7483dd67ace70f6e99
729 $(eval
$(call Download
,net-ipw2200
))
731 define KernelPackage
/net-ipw2200
732 $(call KernelPackage
/mac80211
/Default
)
733 TITLE
:=Intel IPW2200 driver
734 DEPENDS
:=@PCI_SUPPORT
+kmod-net-libipw
735 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.ko
736 AUTOLOAD
:=$(call AutoProbe
,ipw2200
)
739 define KernelPackage
/net-ipw2200
/description
740 Kernel support for Intel IPW2200
746 define KernelPackage
/net-hermes
747 $(call KernelPackage
/mac80211
/Default
)
748 TITLE
:=Hermes
802.11b chipset support
749 DEPENDS
:=@PCI_SUPPORT||PCMCIA_SUPPORT
+kmod-cfg80211
+@DRIVER_WEXT_SUPPORT
750 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco.ko
751 AUTOLOAD
:=$(call AutoProbe
,orinoco
)
754 define KernelPackage
/net-hermes
/description
755 Kernel support for Hermes
802.11b chipsets
758 define KernelPackage
/net-hermes-pci
759 $(call KernelPackage
/mac80211
/Default
)
760 TITLE
:=Intersil Prism
2.5 PCI support
761 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
762 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_pci.ko
763 AUTOLOAD
:=$(call AutoProbe
,orinoco_pci
)
766 define KernelPackage
/net-hermes-pci
/description
767 Kernel modules for Intersil Prism
2.5 PCI support
770 define KernelPackage
/net-hermes-plx
771 $(call KernelPackage
/mac80211
/Default
)
772 TITLE
:=PLX9052 based PCI adaptor
773 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
774 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_plx.ko
775 AUTOLOAD
:=$(call AutoProbe
,orinoco_plx
)
778 define KernelPackage
/net-hermes-plx
/description
779 Kernel modules for Hermes in PLX9052 based PCI adaptors
782 define KernelPackage
/net-hermes-pcmcia
783 $(call KernelPackage
/mac80211
/Default
)
784 TITLE
:=Hermes based PCMCIA adaptors
785 DEPENDS
:=@PCMCIA_SUPPORT
+kmod-net-hermes @BROKEN
786 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_cs.ko
787 AUTOLOAD
:=$(call AutoProbe
,orinoco_cs
)
790 define KernelPackage
/net-hermes-pcmcia
/description
791 Kernel modules for Hermes based PCMCIA adaptors
794 define KernelPackage
/iwlagn
795 $(call KernelPackage
/mac80211
/Default
)
796 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
+@DRIVER_11N_SUPPORT
797 TITLE
:=Intel AGN Wireless support
799 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/iwlwifi.ko \
800 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlwifi
/dvm
/iwldvm.ko
801 AUTOLOAD
:=$(call AutoProbe
,iwlwifi iwldvm
)
805 define KernelPackage
/iwlagn
/description
806 iwlagn kernel module for Intel
5000/5150/1000/6000/6050/6005/6030/100 support
809 define KernelPackage
/iwlagn
/config
810 if PACKAGE_kmod-iwlagn
813 bool
"Intel 5000 Firmware"
816 Download and
install firmware for
:
817 Intel Wireless WiFi
5100AGN
, 5300AGN
, and
5350AGN
820 bool
"Intel 5150 Firmware"
823 Download and
install firmware for
:
824 Intel Wireless WiFi
5150AGN
827 bool
"Intel 1000 Firmware"
830 Download and
install firmware for
:
831 Intel Centrino Wireless-N
1000
834 bool
"Intel 6000 Firmware"
837 Download and
install firmware for
:
838 Intel Centrino Ultimate-N
6300 and Advanced-N
6200
841 bool
"Intel 6050 Firmware"
844 Download and
install firmware for
:
845 Intel Centrino Advanced-N
+ WiMAX
6250 and Wireless-N
+ WiMAX
6150
848 bool
"Intel 6005 Firmware"
851 Download and
install firmware for
:
852 Intel Centrino Advanced-N
6205
855 bool
"Intel 6030 Firmware"
858 Download and
install firmware for
:
859 Intel Centrino Advanced-N
6230, Wireless-N
1030, Wireless-N
130 and Advanced-N
6235
862 bool
"Intel 7260 Firmware"
865 Download and
install firmware for
:
866 Intel Dual Band Wireless-N
7260 and Intel Dual Band Wireless-AC
7260
869 bool
"Intel 100 Firmware"
872 Download and
install firmware for
:
873 Intel Centrino Wireless-N
100
876 bool
"Intel 2000 Firmware"
879 Download and
install firmware for
:
880 Intel Centrino Wireless-N
2200
883 bool
"Intel 2030 Firmware"
886 Download and
install firmware for
:
887 Intel Centrino Wireless-N
2230
890 bool
"Intel 105 Firmware"
893 Download and
install firmware for
:
894 Intel Centrino Wireless-N
105
897 bool
"Intel 135 Firmware"
900 Download and
install firmware for
:
901 Intel Centrino Wireless-N
135
905 define KernelPackage
/iwl-legacy
906 $(call KernelPackage
/mac80211
/Default
)
907 DEPENDS
:= +kmod-mac80211 @PCI_SUPPORT
908 TITLE
:=Intel legacy Wireless support
909 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwlegacy.ko
910 AUTOLOAD
:=$(call AutoProbe
,iwlegacy
)
913 define KernelPackage
/iwl-legacy
/description
914 iwl-legacy kernel module for legacy Intel wireless support
917 define KernelPackage
/iwl3945
918 $(call KernelPackage
/mac80211
/Default
)
919 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
920 TITLE
:=Intel iwl3945 Wireless support
921 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl3945.ko
922 AUTOLOAD
:=$(call AutoProbe
,iwl3945
)
925 define KernelPackage
/iwl3945
/description
926 iwl3945 kernel module for Intel
3945 support
929 define KernelPackage
/iwl4965
930 $(call KernelPackage
/mac80211
/Default
)
931 DEPENDS
:= +kmod-mac80211
+kmod-iwl-legacy
+@DRIVER_11N_SUPPORT
932 TITLE
:=Intel iwl4965 Wireless support
933 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/iwlegacy
/iwl4965.ko
934 AUTOLOAD
:=$(call AutoProbe
,iwl4965
)
937 define KernelPackage
/iwl4965
/description
938 iwl4965 kernel module for Intel
4965 support
942 define KernelPackage
/mwl8k
943 $(call KernelPackage
/mac80211
/Default
)
944 TITLE
:=Driver for Marvell TOPDOG
802.11 Wireless cards
945 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/mwl8k
946 DEPENDS
+= @PCI_SUPPORT
+kmod-mac80211
+@DRIVER_11N_SUPPORT
947 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/mwl8k.ko
948 AUTOLOAD
:=$(call AutoProbe
,mwl8k
)
951 define KernelPackage
/mwl8k
/description
952 Kernel modules for Marvell TOPDOG
802.11 Wireless cards
956 define KernelPackage
/wlcore
957 $(call KernelPackage
/mac80211
/Default
)
958 TITLE
:=TI common driver part
959 DEPENDS
+= @TARGET_omap
+kmod-mac80211
+@DRIVER_11N_SUPPORT
961 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore.ko \
962 $(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wlcore
/wlcore_sdio.ko
963 AUTOLOAD
:=$(call AutoProbe
,wlcore wlcore_sdio
)
966 define KernelPackage
/wlcore
/description
967 This module contains some common parts needed by TI Wireless drivers.
970 define KernelPackage
/wl12xx
971 $(call KernelPackage
/mac80211
/Default
)
972 TITLE
:=Driver for TI WL12xx
973 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl12xx
974 DEPENDS
+= +kmod-wlcore
975 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl12xx
/wl12xx.ko
976 AUTOLOAD
:=$(call AutoProbe
,wl12xx
)
979 define KernelPackage
/wl12xx
/description
980 Kernel modules for TI WL12xx
983 define KernelPackage
/wl18xx
984 $(call KernelPackage
/mac80211
/Default
)
985 TITLE
:=Driver for TI WL18xx
986 URL
:=http
://wireless.kernel.org
/en
/users
/Drivers
/wl18xx
987 DEPENDS
+= +kmod-wlcore
988 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/ti
/wl18xx
/wl18xx.ko
989 AUTOLOAD
:=$(call AutoProbe
,wl18xx
)
992 define KernelPackage
/wl18xx
/description
993 Kernel modules for TI WL18xx
998 ifneq ($(CONFIG_B43_FW_5_10
),)
999 PKG_B43_FWV4_NAME
:=broadcom-wl
1000 PKG_B43_FWV4_VERSION
:=5.10.56.27.3
1001 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta
/wl_prebuilt.o
1002 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)_mipsel.
tar.bz2
1003 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1004 PKG_B43_FWV4_MD5SUM
:=3363e3a6b3d9d73c49dea870c7834eac
1006 ifneq ($(CONFIG_B43_FW_4_178
),)
1007 PKG_B43_FWV4_NAME
:=broadcom-wl
1008 PKG_B43_FWV4_VERSION
:=4.178.10.4
1009 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1010 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1011 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1012 PKG_B43_FWV4_MD5SUM
:=14477e8cbbb91b11896affac9b219fdb
1014 ifneq ($(CONFIG_B43_FW_5_100_138
),)
1015 PKG_B43_FWV4_NAME
:=broadcom-wl
1016 PKG_B43_FWV4_VERSION
:=5.100.138
1017 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/linux
/wl_apsta.o
1018 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1019 PKG_B43_FWV4_SOURCE_URL
:=http
://www.lwfinger.com
/b43-firmware
/
1020 PKG_B43_FWV4_MD5SUM
:=f4e357b09eaf5d8b1f1920cf3493a555
1022 PKG_B43_FWV4_NAME
:=broadcom-wl
1023 PKG_B43_FWV4_VERSION
:=4.150.10.5
1024 PKG_B43_FWV4_OBJECT
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
)/driver
/wl_apsta_mimo.o
1025 PKG_B43_FWV4_SOURCE
:=$(PKG_B43_FWV4_NAME
)-$(PKG_B43_FWV4_VERSION
).
tar.bz2
1026 PKG_B43_FWV4_SOURCE_URL
:=http
://mirror2.openwrt.org
/sources
/
1027 PKG_B43_FWV4_MD5SUM
:=0c6ba9687114c6b598e8019e262d9a60
1031 ifneq ($(CONFIG_B43_OPENFIRMWARE
),)
1032 PKG_B43_FWV4_NAME
:=broadcom-wl
1033 PKG_B43_FWV4_VERSION
:=5.2
1034 PKG_B43_FWV4_OBJECT
:=openfwwf-
$(PKG_B43_FWV4_VERSION
)
1035 PKG_B43_FWV4_SOURCE
:=openfwwf-
$(PKG_B43_FWV4_VERSION
).
tar.gz
1036 PKG_B43_FWV4_SOURCE_URL
:=http
://www.ing.unibs.it
/openfwwf
/firmware
/
1037 PKG_B43_FWV4_MD5SUM
:=e045a135453274e439ae183f8498b0fa
1041 PKG_B43_FWV3_NAME
:=wl_apsta
1042 PKG_B43_FWV3_VERSION
:=3.130.20.0
1043 PKG_B43_FWV3_SOURCE
:=$(PKG_B43_FWV3_NAME
)-$(PKG_B43_FWV3_VERSION
).o
1044 PKG_B43_FWV3_SOURCE_URL
:=http
://downloads.openwrt.org
/sources
/
1045 PKG_B43_FWV3_MD5SUM
:=e08665c5c5b66beb9c3b2dd54aa80cb3
1048 FILE
:=$(PKG_B43_FWV4_SOURCE
)
1049 URL
:=$(PKG_B43_FWV4_SOURCE_URL
)
1050 MD5SUM
:=$(PKG_B43_FWV4_MD5SUM
)
1052 $(eval
$(call Download
,b43
))
1054 define Download
/b43legacy
1055 FILE
:=$(PKG_B43_FWV3_SOURCE
)
1056 URL
:=$(PKG_B43_FWV3_SOURCE_URL
)
1057 MD5SUM
:=$(PKG_B43_FWV3_MD5SUM
)
1059 $(eval
$(call Download
,b43legacy
))
1062 define KernelPackage
/b43
1063 $(call KernelPackage
/mac80211
/Default
)
1064 TITLE
:=Broadcom
43xx wireless support
1065 URL
:=http
://linuxwireless.org
/en
/users
/Drivers
/b43
1068 DEPENDS
+= +kmod-mac80211
+!TARGET_brcm47xx
:kmod-bcma
+!(TARGET_brcm47xx||TARGET_brcm63xx
):kmod-ssb
1069 FILES
:=$(PKG_BUILD_DIR
)/drivers
/net
/wireless
/b43
/b43.ko
1070 AUTOLOAD
:=$(call AutoProbe
,b43
)
1074 define KernelPackage
/b43
/config
1078 prompt
"b43 firmware version"
1079 default B43_FW_5_100_138
1081 This option allows you to select the version of the b43 firmware.
1084 bool
"Firmware 410.2160 from driver 4.150.10.5 (old stable)"
1086 Stable firmware for BCM43xx devices.
1088 If unsure
, select this.
1091 bool
"Firmware 478.104 from driver 4.178.10.4"
1093 Experimental firmware for BCM43xx devices.
1095 This firmware is not tested
as much
as the
"stable" firmware.
1097 If unsure
, select the
"stable" firmware.
1100 bool
"Firmware 508.1084 from driver 5.10.56.27"
1102 Newer experimental firmware for BCM43xx devices.
1104 This firmware is mostly untested. It is needed for some N-PHY devices.
1106 If unsure
, select the
"stable" firmware.
1108 config B43_FW_5_100_138
1109 bool
"Firmware 666.2 from driver 5.100.138 (stable)"
1111 Newer experimental firmware for BCM43xx devices.
1113 This firmware is mostly untested. It is needed for some N-PHY devices.
1115 If unsure
, select the
"stable" firmware.
1117 config B43_OPENFIRMWARE
1118 bool
"Open FirmWare for WiFi networks"
1120 Opensource firmware for BCM43xx devices.
1122 Do _not_ select this
, unless you know what you are doing.
1123 The Opensource firmware is not suitable for embedded devices
, yet.
1124 It does not support QoS
, which is bad for AccessPoints.
1125 It does not support hardware crypto acceleration
, which is a showstopper
1126 for embedded devices with low CPU resources.
1128 If unsure
, select the
"stable" firmware.
1132 config B43_FW_SQUASH
1133 bool
"Remove unnecessary firmware files"
1134 depends on
!B43_OPENFIRMWARE
1137 This options allows you to remove unnecessary b43 firmware files
1138 from the final rootfs image. This can reduce the rootfs size by
1143 config B43_FW_SQUASH_COREREVS
1144 string
"Core revisions to include"
1145 depends on B43_FW_SQUASH
1146 default
"5,6,7,8,9,10,11,13,15,16,29"
1148 This is a comma seperated list of core revision numbers.
1150 Example
(keep files for rev5 only
):
1153 Example
(keep files for rev5 and rev11
):
1156 config B43_FW_SQUASH_PHYTYPES
1157 string
"PHY types to include"
1158 depends on B43_FW_SQUASH
1161 This is a comma seperated list of PHY types
:
1163 AG
=> Dual A-PHY G-PHY
1170 Example
(keep files for G-PHY only
):
1173 Example
(keep files for G-PHY and N-PHY
):
1176 config PACKAGE_B43_DEBUG
1177 bool
"Enable debug output and debugfs for b43"
1180 Enable additional debug output and runtime sanity checks for b43
1181 and enables the debugfs interface.
1185 config PACKAGE_B43_PIO
1186 bool
"Enable support for PIO transfer mode"
1189 Enable support for using PIO instead of DMA. Unless you have DMA
1190 transfer problems you don
't need this.
1194 config PACKAGE_B43_PHY_N
1195 bool "Enable support for N-PHYs"
1198 Enable support for N-PHY. This includes support for the following devices:
1199 PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
1200 SoC: BCM4716, BCM4717, BCM4718
1202 Currently only 11g speed is available.
1206 config PACKAGE_B43_PHY_HT
1207 bool "Enable support for HT-PHYs"
1210 Enable support for HT-PHY. This includes support for the following devices:
1213 Currently only 11g speed is available.
1217 config PACKAGE_B43_PHY_LCN
1218 bool "Enable support for LCN-PHYs"
1229 define KernelPackage/b43/description
1230 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
1233 define KernelPackage/b43legacy
1234 $(call KernelPackage/mac80211/Default)
1235 TITLE:=Broadcom 43xx-legacy wireless support
1236 URL:=http://linuxwireless.org/en/users/Drivers/b43
1239 DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb
1240 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/b43legacy/b43legacy.ko
1241 AUTOLOAD:=$(call AutoProbe,b43legacy)
1245 define KernelPackage/b43legacy/config
1246 if PACKAGE_kmod-b43legacy
1248 config B43LEGACY_FW_SQUASH
1249 bool "Remove unnecessary firmware files"
1252 This options allows you to remove unnecessary b43legacy firmware files
1253 from the final rootfs image. This can reduce the rootfs size by
1258 config B43LEGACY_FW_SQUASH_COREREVS
1259 string "Core revisions to include"
1260 depends on B43LEGACY_FW_SQUASH
1263 This is a comma seperated list of core revision numbers.
1265 Example (keep files for rev4 only):
1268 Example (keep files for rev2 and rev4):
1274 define KernelPackage/b43legacy/description
1275 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
1279 define KernelPackage/brcmutil
1280 $(call KernelPackage/mac80211/Default)
1281 TITLE:=Broadcom IEEE802.11n common driver parts
1282 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1283 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
1284 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko
1285 AUTOLOAD:=$(call AutoProbe,brcmutil)
1289 define KernelPackage/brcmutil/description
1290 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
1293 define KernelPackage/brcmutil/config
1294 if PACKAGE_kmod-brcmutil
1296 config PACKAGE_BRCM80211_DEBUG
1297 bool "Broadcom wireless driver debugging"
1299 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
1304 PKG_BRCMSMAC_FW_NAME:=broadcom-wl
1305 PKG_BRCMSMAC_FW_VERSION:=5.100.138
1306 PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
1307 PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
1308 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
1309 PKG_BRCMSMAC_FW_MD5SUM:=f4e357b09eaf5d8b1f1920cf3493a555
1311 define Download/brcmsmac
1312 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
1313 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
1314 MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
1316 $(eval $(call Download,brcmsmac))
1318 define KernelPackage/brcmsmac
1319 $(call KernelPackage/mac80211/Default)
1320 TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
1321 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1322 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil
1323 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmsmac/brcmsmac.ko
1324 AUTOLOAD:=$(call AutoProbe,brcmsmac)
1328 define KernelPackage/brcmsmac/description
1329 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
1332 define KernelPackage/brcmsmac/config
1333 if PACKAGE_kmod-brcmsmac
1335 config BRCMSMAC_USE_FW_FROM_WL
1336 bool "Use firmware extracted from broadcom proprietary driver"
1339 Instead of using the official brcmsmac firmware a firmware
1340 version 666.2 extracted from the proprietary Broadcom driver
1341 is used. This is needed to get core rev 17 used in bcm4716
1350 define KernelPackage/brcmfmac
1351 $(call KernelPackage/mac80211/Default)
1352 TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
1353 URL:=http://linuxwireless.org/en/users/Drivers/brcm80211
1354 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-cfg80211 +@DRIVER_11N_SUPPORT +kmod-brcmutil
1355 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko
1356 AUTOLOAD:=$(call AutoProbe,brcmfmac)
1359 define KernelPackage/brcmfmac/description
1360 Kernel module for Broadcom IEEE802.11n USB Wireless cards
1363 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1369 CFG80211_INTERNAL_REGDB \
1370 CFG80211_CERTIFICATION_ONUS \
1371 MAC80211_RC_MINSTREL \
1372 MAC80211_RC_MINSTREL_HT \
1373 MAC80211_RC_DEFAULT_MINSTREL \
1375 config-$(call config_package,cfg80211) += CFG80211
1377 config-$(call config_package,mac80211) += MAC80211
1378 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1379 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1390 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1392 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
1393 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
1394 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
1396 config-$(call config_package,ath9k) += ATH9K
1397 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1398 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1399 config-$(CONFIG_PCI) += ATH9K_PCI
1400 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1402 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1403 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1405 config-$(call config_package,ath5k) += ATH5K
1406 ifdef CONFIG_TARGET_atheros
1407 config-y += ATH5K_AHB
1409 config-y += ATH5K_PCI
1412 config-$(call config_package,carl9170) += CARL9170
1414 config-$(call config_package,b43) += B43
1415 config-y += B43_SSB B43_BCMA B43_PHY_LP
1416 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1417 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1418 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1419 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1421 config-$(call config_package,b43legacy) += B43LEGACY
1422 config-y += B43LEGACY_DMA_MODE
1424 config-$(call config_package,brcmutil) += BRCMUTIL
1425 config-$(call config_package,brcmsmac) += BRCMSMAC
1426 config-$(call config_package,brcmfmac) += BRCMFMAC
1427 config-y += BRCMFMAC_USB
1428 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1430 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1432 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1433 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1434 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1435 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1436 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1437 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1439 config-$(call config_package,rt2400-pci) += RT2400PCI
1440 config-$(call config_package,rt2500-pci) += RT2500PCI
1441 config-$(call config_package,rt2500-usb) += RT2500USB
1442 config-$(call config_package,rt61-pci) += RT61PCI
1443 config-$(call config_package,rt73-usb) += RT73USB
1445 config-$(call config_package,rt2800-lib) += RT2800_LIB
1447 config-$(call config_package,rt2800-soc) += RT2800SOC
1448 config-$(call config_package,rt2800-pci) += RT2800PCI
1449 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1451 config-$(call config_package,rt2800-usb) += RT2800USB
1452 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX
1454 config-$(call config_package,iwl-legacy) += IWLEGACY
1455 config-$(call config_package,iwl3945) += IWL3945
1456 config-$(call config_package,iwl4965) += IWL4965
1457 config-$(call config_package,iwlagn) += IWLWIFI IWLDVM
1459 config-$(call config_package,net-libipw) += LIBIPW
1460 config-$(call config_package,net-ipw2100) += IPW2100
1461 config-$(call config_package,net-ipw2200) += IPW2200
1463 config-$(call config_package,p54-common) += P54_COMMON
1464 config-$(call config_package,p54-pci) += P54_PCI
1465 config-$(call config_package,p54-usb) += P54_USB
1466 config-$(call config_package,p54-spi) += P54_SPI
1468 config-$(call config_package,net-hermes) += HERMES
1469 config-$(call config_package,net-hermes-pci) += PCI_HERMES
1470 config-$(call config_package,net-hermes-plx) += PLX_HERMES
1471 config-$(call config_package,net-hermes-pcmcia) += PCMCIA_HERMES
1472 config-y += HERMES_PRISM
1474 config-$(call config_package,adm8211) += ADM8211
1475 config-$(call config_package,libertas-sd) += LIBERTAS LIBERTAS_SDIO
1476 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1477 config-$(call config_package,mwl8k) += MWL8K
1478 config-$(call config_package,rtl8180) += RTL8180
1479 config-$(call config_package,rtl8187) += RTL8187
1480 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1481 config-$(call config_package,wl12xx) += WL12XX
1482 config-$(call config_package,wl18xx) += WL18XX
1483 config-y += WL_TI WILINK_PLATFORM_DATA
1484 config-$(call config_package,zd1211rw) += ZD1211RW
1486 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1487 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1488 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1489 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1490 config-$(call config_package,rtl8192ce) += RTL8192CE
1491 config-$(call config_package,rtl8192se) += RTL8192SE
1492 config-$(call config_package,rtl8192de) += RTL8192DE
1493 config-$(call config_package,rtl8192cu) += RTL8192CU
1494 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1496 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1498 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1499 CROSS_COMPILE="$(KERNEL_CROSS)" \
1500 ARCH="$(LINUX_KARCH)" \
1501 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include" \
1502 KLIB_BUILD="$(LINUX_DIR)" \
1504 KLIB=$(TARGET_MODULES_DIR) \
1505 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1506 KBUILD_LDFLAGS_MODULE_PREREQ=
1508 ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
1513 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1517 define mac80211_config
1518 $(call ConfigVars,m)$(call ConfigVars,y)
1520 $(eval $(call shexport,mac80211_config))
1522 define Build/Prepare
1523 rm -rf $(PKG_BUILD_DIR)
1524 mkdir -p $(PKG_BUILD_DIR)
1527 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1528 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1529 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1530 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_LINUX_FIRMWARE_SOURCE)
1531 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SOURCE)
1533 $(PKG_BUILD_DIR)/include/linux/ssb \
1534 $(PKG_BUILD_DIR)/include/linux/bcma \
1535 $(PKG_BUILD_DIR)/include/net/bluetooth
1538 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1539 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1540 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1541 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1542 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1543 $(PKG_BUILD_DIR)/include/net/ieee80211.h
1545 echo 'compat-wireless-
$(PKG_VERSION
)-$(PKG_RELEASE
)-$(REVISION
)' > $(PKG_BUILD_DIR)/compat_version
1546 $(CP) ./files/regdb.txt $(PKG_BUILD_DIR)/net/wireless/db.txt
1549 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1550 define Build/Compile/kmod
1551 rm -rf $(PKG_BUILD_DIR)/modules
1552 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1556 define Build/Configure
1557 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1558 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1559 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1562 define Build/Compile
1563 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1564 $(MAKE) $(MAKE_OPTS) allnoconfig
1565 $(call Build/Compile/kmod)
1568 define Build/InstallDev
1570 $(1)/usr/include/mac80211 \
1571 $(1)/usr/include/mac80211-backport \
1572 $(1)/usr/include/mac80211/ath \
1573 $(1)/usr/include/net/mac80211
1574 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1575 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1576 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1577 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1580 define KernelPackage/libertas-usb/install
1581 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1583 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8388_v9.bin \
1584 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/usb8682.bin \
1585 $(1)/lib/firmware/libertas/
1588 define KernelPackage/libertas-sd/install
1589 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1591 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385_helper.bin \
1592 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8385.bin \
1593 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9_helper.bin \
1594 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8686_v9.bin \
1595 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688_helper.bin \
1596 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/libertas/sd8688.bin \
1597 $(1)/lib/firmware/libertas
1600 define KernelPackage/cfg80211/install
1601 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1602 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1603 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1606 define KernelPackage/p54-pci/install
1607 $(INSTALL_DIR) $(1)/lib/firmware
1608 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
1611 define KernelPackage/p54-usb/install
1612 $(INSTALL_DIR) $(1)/lib/firmware
1613 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
1616 define KernelPackage/p54-spi/install
1617 $(INSTALL_DIR) $(1)/lib/firmware
1618 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
1621 define KernelPackage/rt61-pci/install
1622 $(INSTALL_DIR) $(1)/lib/firmware
1624 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561.bin \
1625 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2561s.bin \
1626 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2661.bin \
1630 define KernelPackage/rt73-usb/install
1631 $(INSTALL_DIR) $(1)/lib/firmware
1632 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt73.bin $(1)/lib/firmware/
1635 define KernelPackage/rt2800-pci/install
1636 $(INSTALL_DIR) $(1)/lib/firmware
1638 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
1639 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
1643 define KernelPackage/rt2800-usb/install
1644 $(INSTALL_DIR) $(1)/lib/firmware
1645 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2870.bin $(1)/lib/firmware/
1648 define KernelPackage/wl12xx/install
1649 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1651 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-mr.bin \
1652 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-plt.bin \
1653 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl127x-fw-5-sr.bin \
1654 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl1271-nvs.bin \
1655 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-mr.bin \
1656 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-plt.bin \
1657 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-fw-5-sr.bin \
1658 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl128x-nvs.bin \
1659 $(1)/lib/firmware/ti-connectivity
1662 define KernelPackage/wl18xx/install
1663 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1665 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-conf.bin \
1666 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/ti-connectivity/wl18xx-fw-3.bin \
1667 $(1)/lib/firmware/ti-connectivity
1670 define KernelPackage/zd1211rw/install
1671 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1672 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1675 define KernelPackage/carl9170/install
1676 $(INSTALL_DIR) $(1)/lib/firmware
1677 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/carl9170-1.fw $(1)/lib/firmware
1680 define KernelPackage/ath9k-htc/install
1681 $(INSTALL_DIR) $(1)/lib/firmware
1683 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
1684 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
1688 define KernelPackage/ath10k/install
1689 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
1690 ifeq ($(CONFIG_ATH10K_STA_FW),y)
1692 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1693 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1695 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/main/firmware-2.bin_999.999.0.636 \
1696 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin
1699 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1700 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/firmware-2.bin \
1701 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1705 define KernelPackage/mwl8k/install
1706 $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
1708 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366_ap-3.fw \
1709 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8366.fw \
1710 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8366.fw \
1711 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/fmimage_8687.fw \
1712 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/mwl8k/helper_8687.fw \
1713 $(1)/lib/firmware/mwl8k/
1716 define KernelPackage/net-ipw2100/install
1717 $(INSTALL_DIR) $(1)/lib/firmware
1718 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1721 define KernelPackage/net-ipw2200/install
1722 $(INSTALL_DIR) $(1)/lib/firmware
1723 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1726 define KernelPackage/iwlagn/install
1727 $(INSTALL_DIR) $(1)/lib/firmware
1728 ifneq ($(CONFIG_IWL5000_FW),)
1729 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5000-5.ucode $(1)/lib/firmware
1731 ifneq ($(CONFIG_IWL5150_FW),)
1732 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
1734 ifneq ($(CONFIG_IWL1000_FW),)
1735 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
1737 ifneq ($(CONFIG_IWL6000_FW),)
1738 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
1740 ifneq ($(CONFIG_IWL6050_FW),)
1741 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
1743 ifneq ($(CONFIG_IWL6005_FW),)
1744 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
1746 ifneq ($(CONFIG_IWL6030_FW),)
1747 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
1749 ifneq ($(CONFIG_IWL7260_FW),)
1750 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-7.ucode $(1)/lib/firmware
1752 ifneq ($(CONFIG_IWL100_FW),)
1753 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
1755 ifneq ($(CONFIG_IWL2000_FW),)
1756 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
1758 ifneq ($(CONFIG_IWL2030_FW),)
1759 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
1761 ifneq ($(CONFIG_IWL105_FW),)
1762 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
1764 ifneq ($(CONFIG_IWL135_FW),)
1765 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
1769 define KernelPackage/iwl3945/install
1770 $(INSTALL_DIR) $(1)/lib/firmware
1771 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-3945-2.ucode $(1)/lib/firmware
1774 define KernelPackage/iwl4965/install
1775 $(INSTALL_DIR) $(1)/lib/firmware
1776 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-4965-2.ucode $(1)/lib/firmware
1779 define KernelPackage/b43/install
1780 rm -rf $(1)/lib/firmware/
1781 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1782 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1784 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1786 $(INSTALL_DIR) $(1)/lib/firmware/
1787 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1788 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1789 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
1790 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
1791 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
1792 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
1794 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1796 ifneq ($(CONFIG_B43_FW_SQUASH),)
1797 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1801 define KernelPackage/b43legacy/install
1802 $(INSTALL_DIR) $(1)/lib/firmware/
1803 b43-fwcutter --unsupported -w $(1)/lib/firmware/ $(DL_DIR)/$(PKG_B43_FWV3_SOURCE)
1804 ifneq ($(CONFIG_B43LEGACY_FW_SQUASH),)
1805 b43-fwsquash.py "G" "$(CONFIG_B43LEGACY_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43legacy"
1809 define KernelPackage/brcmsmac/install
1810 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1811 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
1812 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
1813 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
1816 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx-0.fw \
1817 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/bcm43xx_hdr-0.fw \
1818 $(1)/lib/firmware/brcm/
1822 define KernelPackage/brcmfmac/install
1823 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1825 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
1826 $(1)/lib/firmware/brcm/
1829 $(eval $(call KernelPackage,adm8211))
1830 $(eval $(call KernelPackage,ath5k))
1831 $(eval $(call KernelPackage,lib80211))
1832 $(eval $(call KernelPackage,libertas-usb))
1833 $(eval $(call KernelPackage,libertas-sd))
1834 $(eval $(call KernelPackage,cfg80211))
1835 $(eval $(call KernelPackage,mac80211))
1836 $(eval $(call KernelPackage,p54-common))
1837 $(eval $(call KernelPackage,p54-pci))
1838 $(eval $(call KernelPackage,p54-usb))
1839 $(eval $(call KernelPackage,p54-spi))
1840 $(eval $(call KernelPackage,rt2x00-lib))
1841 $(eval $(call KernelPackage,rt2x00-mmio))
1842 $(eval $(call KernelPackage,rt2x00-pci))
1843 $(eval $(call KernelPackage,rt2x00-usb))
1844 $(eval $(call KernelPackage,rt2800-lib))
1845 $(eval $(call KernelPackage,rt2400-pci))
1846 $(eval $(call KernelPackage,rt2500-pci))
1847 $(eval $(call KernelPackage,rt2500-usb))
1848 $(eval $(call KernelPackage,rt61-pci))
1849 $(eval $(call KernelPackage,rt73-usb))
1850 $(eval $(call KernelPackage,rt2800-mmio))
1851 $(eval $(call KernelPackage,rt2800-soc))
1852 $(eval $(call KernelPackage,rt2800-pci))
1853 $(eval $(call KernelPackage,rt2800-usb))
1854 $(eval $(call KernelPackage,rtl8180))
1855 $(eval $(call KernelPackage,rtl8187))
1856 $(eval $(call KernelPackage,rtlwifi))
1857 $(eval $(call KernelPackage,rtlwifi-pci))
1858 $(eval $(call KernelPackage,rtlwifi-usb))
1859 $(eval $(call KernelPackage,rtl8192c-common))
1860 $(eval $(call KernelPackage,rtl8192ce))
1861 $(eval $(call KernelPackage,rtl8192se))
1862 $(eval $(call KernelPackage,rtl8192de))
1863 $(eval $(call KernelPackage,rtl8192cu))
1864 $(eval $(call KernelPackage,zd1211rw))
1865 $(eval $(call KernelPackage,mac80211-hwsim))
1866 $(eval $(call KernelPackage,ath9k-common))
1867 $(eval $(call KernelPackage,ath9k))
1868 $(eval $(call KernelPackage,ath9k-htc))
1869 $(eval $(call KernelPackage,ath10k))
1870 $(eval $(call KernelPackage,ath))
1871 $(eval $(call KernelPackage,carl9170))
1872 $(eval $(call KernelPackage,b43))
1873 $(eval $(call KernelPackage,b43legacy))
1874 $(eval $(call KernelPackage,brcmutil))
1875 $(eval $(call KernelPackage,brcmsmac))
1876 $(eval $(call KernelPackage,brcmfmac))
1877 $(eval $(call KernelPackage,net-libipw))
1878 $(eval $(call KernelPackage,net-ipw2100))
1879 $(eval $(call KernelPackage,net-ipw2200))
1880 $(eval $(call KernelPackage,iwlagn))
1881 $(eval $(call KernelPackage,iwl-legacy))
1882 $(eval $(call KernelPackage,iwl4965))
1883 $(eval $(call KernelPackage,iwl3945))
1884 $(eval $(call KernelPackage,mwl8k))
1885 $(eval $(call KernelPackage,net-hermes))
1886 $(eval $(call KernelPackage,net-hermes-pci))
1887 $(eval $(call KernelPackage,net-hermes-plx))
1888 $(eval $(call KernelPackage,net-hermes-pcmcia))
1889 $(eval $(call KernelPackage,wlcore))
1890 $(eval $(call KernelPackage,wl12xx))
1891 $(eval $(call KernelPackage,wl18xx))