mac80211: add TMSC firmware to 8192cu module to properly support 8188CUS
[openwrt/svn-archive/archive.git] / package / kernel / mac80211 / Makefile
1 #
2 # Copyright (C) 2007-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=mac80211
12
13 PKG_VERSION:=2014-03-31
14 PKG_RELEASE:=1
15 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
16 PKG_BACKPORT_VERSION:=
17 PKG_MD5SUM:=8b5cf82d6defc5867511014af4afc0b6
18
19 PKG_SOURCE:=compat-wireless-$(PKG_VERSION)$(PKG_BACKPORT_VERSION).tar.bz2
20 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
21 PKG_BUILD_PARALLEL:=1
22
23 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
24
25 PKG_DRIVERS = \
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 \
34 rtl8192de rtl8192cu
35
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 \
47
48 include $(INCLUDE_DIR)/package.mk
49
50 WMENU:=Wireless Drivers
51
52 define KernelPackage/mac80211/Default
53 SUBMENU:=$(WMENU)
54 URL:=http://linuxwireless.org/
55 MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
56 DEPENDS:=@(!(TARGET_avr32||TARGET_ps3||TARGET_pxcab)||BROKEN)
57 endef
58
59 define KernelPackage/cfg80211
60 $(call KernelPackage/mac80211/Default)
61 TITLE:=cfg80211 - wireless configuration API
62 DEPENDS+= +iw
63 FILES:= \
64 $(PKG_BUILD_DIR)/compat/compat.ko \
65 $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko
66 endef
67
68 define KernelPackage/cfg80211/description
69 cfg80211 is the Linux wireless LAN (802.11) configuration API.
70 endef
71
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
76 KCONFIG:=\
77 CONFIG_AVERAGE=y
78 FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko
79 MENU:=1
80 endef
81
82 define KernelPackage/mac80211/config
83 if PACKAGE_kmod-mac80211
84
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
89 default y
90 help
91 Select this to see extensive information about
92 the internal state of mac80211 in debugfs.
93
94 config PACKAGE_MAC80211_MESH
95 bool "Enable 802.11s mesh support"
96 default y
97
98 endif
99 endef
100
101 define KernelPackage/mac80211/description
102 Generic IEEE 802.11 Networking Stack (mac80211)
103 endef
104
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
112
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)
121 endef
122 $(eval $(call Download,linux-firmware))
123
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:=?
131
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)
139 endef
140 $(eval $(call Download,ath10k-firmware))
141
142 # Prism54 drivers
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
146
147 define Download/p54usb
148 FILE:=$(P54USBFW)
149 URL:=http://daemonizer.de/prism54/prism54-fw/fw-usb
150 MD5SUM:=8e8ab005a4f8f0123bcdc51bc25b47f6
151 endef
152 $(eval $(call Download,p54usb))
153
154 define Download/p54pci
155 FILE:=$(P54PCIFW)
156 URL:=http://daemonizer.de/prism54/prism54-fw/fw-softmac
157 MD5SUM:=ff7536af2092b1c4b21315bd103ef4c4
158 endef
159 $(eval $(call Download,p54pci))
160
161 define Download/p54spi
162 FILE:=$(P54SPIFW)
163 URL:=http://daemonizer.de/prism54/prism54-fw/stlc4560
164 MD5SUM:=42661f8ecbadd88012807493f596081d
165 endef
166 $(eval $(call Download,p54spi))
167
168 define KernelPackage/p54/Default
169 $(call KernelPackage/mac80211/Default)
170 TITLE:=Prism54 Drivers
171 endef
172
173 define KernelPackage/p54/description
174 Kernel module for Prism54 chipsets (mac80211)
175 endef
176
177 define KernelPackage/p54-common
178 $(call KernelPackage/p54/Default)
179 DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
180 TITLE+= (COMMON)
181 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54common.ko
182 endef
183
184 define KernelPackage/p54-pci
185 $(call KernelPackage/p54/Default)
186 TITLE+= (PCI)
187 DEPENDS+= @PCI_SUPPORT +kmod-p54-common
188 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54pci.ko
189 AUTOLOAD:=$(call AutoProbe,p54pci)
190 endef
191
192 define KernelPackage/p54-usb
193 $(call KernelPackage/p54/Default)
194 TITLE+= (USB)
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)
198 endef
199
200 define KernelPackage/p54-spi
201 $(call KernelPackage/p54/Default)
202 TITLE+= (SPI)
203 DEPENDS+= @TARGET_omap24xx +kmod-p54-common
204 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/p54/p54spi.ko
205 AUTOLOAD:=$(call AutoProbe,p54spi)
206 endef
207
208 define KernelPackage/rt2x00/Default
209 $(call KernelPackage/mac80211/Default)
210 TITLE:=Ralink Drivers for RT2x00 cards
211 endef
212
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
216 TITLE+= (LIB)
217 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00lib.ko
218 MENU:=1
219 endef
220
221 define KernelPackage/rt2x00-lib/config
222 if PACKAGE_kmod-rt2x00-lib
223
224 config PACKAGE_RT2X00_LIB_DEBUGFS
225 bool "Enable rt2x00 debugfs support"
226 depends on PACKAGE_MAC80211_DEBUGFS
227 help
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.
231
232 config PACKAGE_RT2X00_DEBUG
233 bool "Enable rt2x00 debug output"
234 help
235 Enable debugging output for all rt2x00 modules
236
237 endif
238 endef
239
240 define KernelPackage/rt2x00-mmio
241 $(call KernelPackage/rt2x00/Default)
242 DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
243 HIDDEN:=1
244 TITLE+= (MMIO)
245 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00mmio.ko
246 endef
247
248 define KernelPackage/rt2x00-pci
249 $(call KernelPackage/rt2x00/Default)
250 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib
251 HIDDEN:=1
252 TITLE+= (PCI)
253 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00pci.ko
254 AUTOLOAD:=$(call AutoProbe,rt2x00pci)
255 endef
256
257 define KernelPackage/rt2x00-usb
258 $(call KernelPackage/rt2x00/Default)
259 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
260 HIDDEN:=1
261 TITLE+= (USB)
262 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2x00usb.ko
263 AUTOLOAD:=$(call AutoProbe,rt2x00usb)
264 endef
265
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
269 HIDDEN:=1
270 TITLE+= (rt2800 LIB)
271 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800lib.ko
272 endef
273
274 define KernelPackage/rt2400-pci
275 $(call KernelPackage/rt2x00/Default)
276 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
277 TITLE+= (RT2400 PCI)
278 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2400pci.ko
279 AUTOLOAD:=$(call AutoProbe,rt2400pci)
280 endef
281
282 define KernelPackage/rt2500-pci
283 $(call KernelPackage/rt2x00/Default)
284 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
285 TITLE+= (RT2500 PCI)
286 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500pci.ko
287 AUTOLOAD:=$(call AutoProbe,rt2500pci)
288 endef
289
290 define KernelPackage/rt2500-usb
291 $(call KernelPackage/rt2x00/Default)
292 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
293 TITLE+= (RT2500 USB)
294 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2500usb.ko
295 AUTOLOAD:=$(call AutoProbe,rt2500usb)
296 endef
297
298 define KernelPackage/rt61-pci
299 $(call KernelPackage/rt2x00/Default)
300 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
301 TITLE+= (RT2x61 PCI)
302 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt61pci.ko
303 AUTOLOAD:=$(call AutoProbe,rt61pci)
304 endef
305
306 define KernelPackage/rt73-usb
307 $(call KernelPackage/rt2x00/Default)
308 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
309 TITLE+= (RT73 USB)
310 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt73usb.ko
311 AUTOLOAD:=$(call AutoProbe,rt73usb)
312 endef
313
314 define KernelPackage/rt2800-mmio
315 $(call KernelPackage/rt2x00/Default)
316 TITLE += (RT28xx/RT3xxx MMIO)
317 DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
318 HIDDEN:=1
319 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800mmio.ko
320 endef
321
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)
326 FILES := \
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)
330 endef
331
332 define KernelPackage/rt2800-pci
333 $(call KernelPackage/rt2x00/Default)
334 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-rt2800-mmio
335 TITLE+= (RT2860 PCI)
336 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.ko
337 AUTOLOAD:=$(call AutoProbe,rt2800pci)
338 endef
339
340 define KernelPackage/rt2800-usb
341 $(call KernelPackage/rt2x00/Default)
342 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt
343 TITLE+= (RT2870 USB)
344 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800usb.ko
345 AUTOLOAD:=$(call AutoProbe,rt2800usb)
346 endef
347
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
353 endef
354
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)
361 endef
362
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)
369 endef
370
371 define KernelPackage/rtlwifi/config
372 menu "Configuration"
373 depends on PACKAGE_kmod-rtlwifi
374
375 config PACKAGE_RTLWIFI_DEBUG
376 bool "Realtek wireless debugging"
377 help
378 Say Y, if you want to debug realtek wireless drivers.
379
380 endmenu
381 endef
382
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
388 MENU:=1
389 endef
390
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)
397 HIDDEN:=1
398 endef
399
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)
406 HIDDEN:=1
407 endef
408
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
414 HIDDEN:=1
415 endef
416
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)
423 endef
424
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
428 endef
429
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)
436 endef
437
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
441 endef
442
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)
449 endef
450
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
454 endef
455
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)
462 endef
463
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
468 endef
469
470 ZD1211FW_NAME:=zd1211-firmware
471 ZD1211FW_VERSION:=1.4
472 define Download/zd1211rw
473 FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
474 URL:=@SF/zd1211/
475 MD5SUM:=19f28781d76569af8551c9d11294c870
476 endef
477 $(eval $(call Download,zd1211rw))
478
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)
485 endef
486
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)
493 endef
494
495 define KernelPackage/ath/config
496 if PACKAGE_kmod-ath
497 config ATH_USER_REGD
498 bool "Force Atheros drivers to respect the user's regdomain settings"
499 help
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.
504
505 Select this option if you want the driver to respect the user's decision about
506 regulatory settings.
507
508 config PACKAGE_ATH_DEBUG
509 bool "Atheros wireless debugging"
510 help
511 Say Y, if you want to debug atheros wireless drivers.
512 Right now only ath9k makes use of this.
513 endif
514 endef
515
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
521 MENU:=1
522 endef
523
524 define KernelPackage/ath/description
525 This module contains some common parts needed by Atheros Wireless drivers.
526 endef
527
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)
535 endef
536
537 define KernelPackage/ath5k/description
538 This module adds support for wireless adapters based on
539 Atheros 5xxx chipset.
540 endef
541
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
547 FILES:= \
548 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
549 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
550 endef
551
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
557 FILES:= \
558 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
559 AUTOLOAD:=$(call AutoProbe,ath9k)
560 endef
561
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.
565 endef
566
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
572 FILES:= \
573 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
574 AUTOLOAD:=$(call AutoProbe,ath9k_htc)
575 endef
576
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.
580 endef
581
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
587 FILES:= \
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)
591 endef
592
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
596 PCI is supported.
597 endef
598
599 define KernelPackage/ath10k/config
600 if PACKAGE_kmod-ath10k
601
602 config ATH10K_STA_FW
603 bool "Firmware optimized for STA operation"
604 default n
605 help
606 Use the ath10k firmware optimized for wireless client instead
607 of access point operation.
608
609 endif
610 endef
611
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)
618 endef
619
620 define KernelPackage/lib80211
621 $(call KernelPackage/mac80211/Default)
622 TITLE:=802.11 Networking stack
623 DEPENDS:=+kmod-cfg80211
624 FILES:= \
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, \
630 lib80211 \
631 lib80211_crypt_wep \
632 lib80211_crypt_ccmp \
633 lib80211_crypt_tkip \
634 )
635 endef
636
637 define KernelPackage/lib80211/description
638 Kernel modules for 802.11 Networking stack
639 Includes:
640 - lib80211
641 - lib80211_crypt_wep
642 - lib80211_crypt_tkip
643 - lib80211_crytp_ccmp
644 endef
645
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
650 FILES:= \
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)
654 endef
655
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
660 FILES:= \
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)
664 endef
665
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)
672 endef
673
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)
680 endef
681
682 define KernelPackage/net-libipw/description
683 Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
684 endef
685
686 IPW2100_NAME:=ipw2100-fw
687 IPW2100_VERSION:=1.3
688
689 define Download/net-ipw2100
690 URL:=http://bughost.org/firmware/
691 FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
692 MD5SUM=46aa75bcda1a00efa841f9707bbbd113
693 endef
694 $(eval $(call Download,net-ipw2100))
695
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)
702 endef
703
704 define KernelPackage/net-ipw2100/description
705 Kernel support for Intel IPW2100
706 Includes:
707 - ipw2100
708 endef
709
710 IPW2200_NAME:=ipw2200-fw
711 IPW2200_VERSION:=3.1
712
713 define Download/net-ipw2200
714 URL:=http://bughost.org/firmware/
715 FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
716 MD5SUM=eaba788643c7cc7483dd67ace70f6e99
717 endef
718 $(eval $(call Download,net-ipw2200))
719
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)
726 endef
727
728 define KernelPackage/net-ipw2200/description
729 Kernel support for Intel IPW2200
730 Includes:
731 - ipw2200
732 endef
733
734
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)
741 endef
742
743 define KernelPackage/net-hermes/description
744 Kernel support for Hermes 802.11b chipsets
745 endef
746
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)
753 endef
754
755 define KernelPackage/net-hermes-pci/description
756 Kernel modules for Intersil Prism 2.5 PCI support
757 endef
758
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)
765 endef
766
767 define KernelPackage/net-hermes-plx/description
768 Kernel modules for Hermes in PLX9052 based PCI adaptors
769 endef
770
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)
777 endef
778
779 define KernelPackage/net-hermes-pcmcia/description
780 Kernel modules for Hermes based PCMCIA adaptors
781 endef
782
783 define KernelPackage/iwlagn
784 $(call KernelPackage/mac80211/Default)
785 DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT
786 TITLE:=Intel AGN Wireless support
787 FILES:= \
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)
791 MENU:=1
792 endef
793
794 define KernelPackage/iwlagn/description
795 iwlagn kernel module for Intel 5000/5150/1000/6000/6050/6005/6030/100 support
796 endef
797
798 define KernelPackage/iwlagn/config
799 if PACKAGE_kmod-iwlagn
800
801 config IWL5000_FW
802 bool "Intel 5000 Firmware"
803 default y
804 help
805 Download and install firmware for:
806 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
807
808 config IWL5150_FW
809 bool "Intel 5150 Firmware"
810 default y
811 help
812 Download and install firmware for:
813 Intel Wireless WiFi 5150AGN
814
815 config IWL1000_FW
816 bool "Intel 1000 Firmware"
817 default y
818 help
819 Download and install firmware for:
820 Intel Centrino Wireless-N 1000
821
822 config IWL6000_FW
823 bool "Intel 6000 Firmware"
824 default y
825 help
826 Download and install firmware for:
827 Intel Centrino Ultimate-N 6300 and Advanced-N 6200
828
829 config IWL6050_FW
830 bool "Intel 6050 Firmware"
831 default y
832 help
833 Download and install firmware for:
834 Intel Centrino Advanced-N + WiMAX 6250 and Wireless-N + WiMAX 6150
835
836 config IWL6005_FW
837 bool "Intel 6005 Firmware"
838 default y
839 help
840 Download and install firmware for:
841 Intel Centrino Advanced-N 6205
842
843 config IWL6030_FW
844 bool "Intel 6030 Firmware"
845 default y
846 help
847 Download and install firmware for:
848 Intel Centrino Advanced-N 6230, Wireless-N 1030, Wireless-N 130 and Advanced-N 6235
849
850 config IWL7260_FW
851 bool "Intel 7260 Firmware"
852 default y
853 help
854 Download and install firmware for:
855 Intel Dual Band Wireless-N 7260 and Intel Dual Band Wireless-AC 7260
856
857 config IWL100_FW
858 bool "Intel 100 Firmware"
859 default y
860 help
861 Download and install firmware for:
862 Intel Centrino Wireless-N 100
863
864 config IWL2000_FW
865 bool "Intel 2000 Firmware"
866 default y
867 help
868 Download and install firmware for:
869 Intel Centrino Wireless-N 2200
870
871 config IWL2030_FW
872 bool "Intel 2030 Firmware"
873 default y
874 help
875 Download and install firmware for:
876 Intel Centrino Wireless-N 2230
877
878 config IWL105_FW
879 bool "Intel 105 Firmware"
880 default y
881 help
882 Download and install firmware for:
883 Intel Centrino Wireless-N 105
884
885 config IWL135_FW
886 bool "Intel 135 Firmware"
887 default y
888 help
889 Download and install firmware for:
890 Intel Centrino Wireless-N 135
891 endif
892 endef
893
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)
900 endef
901
902 define KernelPackage/iwl-legacy/description
903 iwl-legacy kernel module for legacy Intel wireless support
904 endef
905
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)
912 endef
913
914 define KernelPackage/iwl3945/description
915 iwl3945 kernel module for Intel 3945 support
916 endef
917
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)
924 endef
925
926 define KernelPackage/iwl4965/description
927 iwl4965 kernel module for Intel 4965 support
928 endef
929
930
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)
938 endef
939
940 define KernelPackage/mwl8k/description
941 Kernel modules for Marvell TOPDOG 802.11 Wireless cards
942 endef
943
944
945 define KernelPackage/wlcore
946 $(call KernelPackage/mac80211/Default)
947 TITLE:=TI common driver part
948 DEPENDS+= @TARGET_omap +kmod-mac80211 +@DRIVER_11N_SUPPORT
949 FILES:= \
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)
953 endef
954
955 define KernelPackage/wlcore/description
956 This module contains some common parts needed by TI Wireless drivers.
957 endef
958
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)
966 endef
967
968 define KernelPackage/wl12xx/description
969 Kernel modules for TI WL12xx
970 endef
971
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)
979 endef
980
981 define KernelPackage/wl18xx/description
982 Kernel modules for TI WL18xx
983 endef
984
985
986 #Broadcom firmware
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
994 else
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
1002 else
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
1010 else
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
1017 endif
1018 endif
1019 endif
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
1027 endif
1028
1029
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
1035
1036 define Download/b43
1037 FILE:=$(PKG_B43_FWV4_SOURCE)
1038 URL:=$(PKG_B43_FWV4_SOURCE_URL)
1039 MD5SUM:=$(PKG_B43_FWV4_MD5SUM)
1040 endef
1041 $(eval $(call Download,b43))
1042
1043 define Download/b43legacy
1044 FILE:=$(PKG_B43_FWV3_SOURCE)
1045 URL:=$(PKG_B43_FWV3_SOURCE_URL)
1046 MD5SUM:=$(PKG_B43_FWV3_MD5SUM)
1047 endef
1048 $(eval $(call Download,b43legacy))
1049
1050
1051 define KernelPackage/b43
1052 $(call KernelPackage/mac80211/Default)
1053 TITLE:=Broadcom 43xx wireless support
1054 URL:=http://linuxwireless.org/en/users/Drivers/b43
1055 KCONFIG:= \
1056 CONFIG_HW_RANDOM=y
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)
1060 MENU:=1
1061 endef
1062
1063 define KernelPackage/b43/config
1064 if PACKAGE_kmod-b43
1065
1066 choice
1067 prompt "b43 firmware version"
1068 default B43_FW_5_100_138
1069 help
1070 This option allows you to select the version of the b43 firmware.
1071
1072 config B43_FW_4_150
1073 bool "Firmware 410.2160 from driver 4.150.10.5 (old stable)"
1074 help
1075 Stable firmware for BCM43xx devices.
1076
1077 If unsure, select this.
1078
1079 config B43_FW_4_178
1080 bool "Firmware 478.104 from driver 4.178.10.4"
1081 help
1082 Experimental firmware for BCM43xx devices.
1083
1084 This firmware is not tested as much as the "stable" firmware.
1085
1086 If unsure, select the "stable" firmware.
1087
1088 config B43_FW_5_10
1089 bool "Firmware 508.1084 from driver 5.10.56.27"
1090 help
1091 Newer experimental firmware for BCM43xx devices.
1092
1093 This firmware is mostly untested. It is needed for some N-PHY devices.
1094
1095 If unsure, select the "stable" firmware.
1096
1097 config B43_FW_5_100_138
1098 bool "Firmware 666.2 from driver 5.100.138 (stable)"
1099 help
1100 Newer experimental firmware for BCM43xx devices.
1101
1102 This firmware is mostly untested. It is needed for some N-PHY devices.
1103
1104 If unsure, select the "stable" firmware.
1105
1106 config B43_OPENFIRMWARE
1107 bool "Open FirmWare for WiFi networks"
1108 help
1109 Opensource firmware for BCM43xx devices.
1110
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.
1116
1117 If unsure, select the "stable" firmware.
1118
1119 endchoice
1120
1121 config B43_FW_SQUASH
1122 bool "Remove unnecessary firmware files"
1123 depends on !B43_OPENFIRMWARE
1124 default y
1125 help
1126 This options allows you to remove unnecessary b43 firmware files
1127 from the final rootfs image. This can reduce the rootfs size by
1128 up to 200k.
1129
1130 If unsure, say Y.
1131
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"
1136 help
1137 This is a comma seperated list of core revision numbers.
1138
1139 Example (keep files for rev5 only):
1140 5
1141
1142 Example (keep files for rev5 and rev11):
1143 5,11
1144
1145 config B43_FW_SQUASH_PHYTYPES
1146 string "PHY types to include"
1147 depends on B43_FW_SQUASH
1148 default "G,LP,N,HT"
1149 help
1150 This is a comma seperated list of PHY types:
1151 A => A-PHY
1152 AG => Dual A-PHY G-PHY
1153 G => G-PHY
1154 LP => LP-PHY
1155 N => N-PHY
1156 HT => HT-PHY
1157 LCN => LCN-PHY
1158
1159 Example (keep files for G-PHY only):
1160 G
1161
1162 Example (keep files for G-PHY and N-PHY):
1163 G,N
1164
1165 config PACKAGE_B43_DEBUG
1166 bool "Enable debug output and debugfs for b43"
1167 default n
1168 help
1169 Enable additional debug output and runtime sanity checks for b43
1170 and enables the debugfs interface.
1171
1172 If unsure, say N.
1173
1174 config PACKAGE_B43_PIO
1175 bool "Enable support for PIO transfer mode"
1176 default n
1177 help
1178 Enable support for using PIO instead of DMA. Unless you have DMA
1179 transfer problems you don't need this.
1180
1181 If unsure, say N.
1182
1183 config PACKAGE_B43_PHY_N
1184 bool "Enable support for N-PHYs"
1185 default y
1186 help
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
1190
1191 Currently only 11g speed is available.
1192
1193 If unsure, say Y.
1194
1195 config PACKAGE_B43_PHY_HT
1196 bool "Enable support for HT-PHYs"
1197 default y
1198 help
1199 Enable support for HT-PHY. This includes support for the following devices:
1200 PCI: BCM4331
1201
1202 Currently only 11g speed is available.
1203
1204 If unsure, say Y.
1205
1206 config PACKAGE_B43_PHY_LCN
1207 bool "Enable support for LCN-PHYs"
1208 depends on BROKEN
1209 default n
1210 help
1211 Currently broken.
1212
1213 If unsure, say N.
1214
1215 endif
1216 endef
1217
1218 define KernelPackage/b43/description
1219 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
1220 endef
1221
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
1226 KCONFIG:= \
1227 CONFIG_HW_RANDOM=y
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)
1231 MENU:=1
1232 endef
1233
1234 define KernelPackage/b43legacy/config
1235 if PACKAGE_kmod-b43legacy
1236
1237 config B43LEGACY_FW_SQUASH
1238 bool "Remove unnecessary firmware files"
1239 default y
1240 help
1241 This options allows you to remove unnecessary b43legacy firmware files
1242 from the final rootfs image. This can reduce the rootfs size by
1243 up to 50k.
1244
1245 If unsure, say Y.
1246
1247 config B43LEGACY_FW_SQUASH_COREREVS
1248 string "Core revisions to include"
1249 depends on B43LEGACY_FW_SQUASH
1250 default "1,2,3,4"
1251 help
1252 This is a comma seperated list of core revision numbers.
1253
1254 Example (keep files for rev4 only):
1255 4
1256
1257 Example (keep files for rev2 and rev4):
1258 2,4
1259
1260 endif
1261 endef
1262
1263 define KernelPackage/b43legacy/description
1264 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
1265 endef
1266
1267
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)
1275 MENU:=1
1276 endef
1277
1278 define KernelPackage/brcmutil/description
1279 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
1280 endef
1281
1282 define KernelPackage/brcmutil/config
1283 if PACKAGE_kmod-brcmutil
1284
1285 config PACKAGE_BRCM80211_DEBUG
1286 bool "Broadcom wireless driver debugging"
1287 help
1288 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
1289
1290 endif
1291 endef
1292
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
1299
1300 define Download/brcmsmac
1301 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
1302 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
1303 MD5SUM:=$(PKG_BRCMSMAC_FW_MD5SUM)
1304 endef
1305 $(eval $(call Download,brcmsmac))
1306
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)
1314 MENU:=1
1315 endef
1316
1317 define KernelPackage/brcmsmac/description
1318 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
1319 endef
1320
1321 define KernelPackage/brcmsmac/config
1322 if PACKAGE_kmod-brcmsmac
1323
1324 config BRCMSMAC_USE_FW_FROM_WL
1325 bool "Use firmware extracted from broadcom proprietary driver"
1326 default y
1327 help
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
1331 to work.
1332
1333 If unsure, say Y.
1334
1335 endif
1336 endef
1337
1338
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)
1346 endef
1347
1348 define KernelPackage/brcmfmac/description
1349 Kernel module for Broadcom IEEE802.11n USB Wireless cards
1350 endef
1351
1352 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1353
1354 config-y:= \
1355 WLAN \
1356 NL80211_TESTMODE \
1357 CFG80211_WEXT \
1358 CFG80211_INTERNAL_REGDB \
1359 MAC80211_RC_MINSTREL \
1360 MAC80211_RC_MINSTREL_HT \
1361 MAC80211_RC_DEFAULT_MINSTREL \
1362
1363 config-$(call config_package,cfg80211) += CFG80211
1364
1365 config-$(call config_package,mac80211) += MAC80211
1366 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1367 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1368 config-y += \
1369 CFG80211_DEBUGFS \
1370 MAC80211_DEBUGFS \
1371 ATH9K_DEBUGFS \
1372 ATH9K_HTC_DEBUGFS \
1373 ATH10K_DEBUGFS \
1374 CARL9170_DEBUGFS \
1375 ATH5K_DEBUG
1376 endif
1377
1378 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1379
1380 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON
1381 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG
1382
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
1388
1389 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1390 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1391
1392 config-$(call config_package,ath5k) += ATH5K
1393 ifdef CONFIG_TARGET_atheros
1394 config-y += ATH5K_AHB
1395 else
1396 config-y += ATH5K_PCI
1397 endif
1398
1399 config-$(call config_package,carl9170) += CARL9170
1400
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
1407
1408 config-$(call config_package,b43legacy) += B43LEGACY
1409 config-y += B43LEGACY_DMA_MODE
1410
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
1416
1417 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1418
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
1425
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
1431
1432 config-$(call config_package,rt2800-lib) += RT2800_LIB
1433
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
1437
1438 config-$(call config_package,rt2800-usb) += RT2800USB
1439 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX
1440
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
1445
1446 config-$(call config_package,net-libipw) += LIBIPW
1447 config-$(call config_package,net-ipw2100) += IPW2100
1448 config-$(call config_package,net-ipw2200) += IPW2200
1449
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
1454
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
1460
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
1472
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
1482
1483 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1484
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)" \
1490 MODPROBE=true \
1491 KLIB=$(TARGET_MODULES_DIR) \
1492 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1493 KBUILD_LDFLAGS_MODULE_PREREQ=
1494
1495 ifneq ($(findstring c,$(OPENWRT_VERBOSE)),)
1496 MAKE_OPTS += V=1
1497 endif
1498
1499 define ConfigVars
1500 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1501 ))
1502 endef
1503
1504 define mac80211_config
1505 $(call ConfigVars,m)$(call ConfigVars,y)
1506 endef
1507 $(eval $(call shexport,mac80211_config))
1508
1509 define Build/Prepare
1510 rm -rf $(PKG_BUILD_DIR)
1511 mkdir -p $(PKG_BUILD_DIR)
1512 $(PKG_UNPACK)
1513 $(Build/Patch)
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)
1519 rm -rf \
1520 $(PKG_BUILD_DIR)/include/linux/ssb \
1521 $(PKG_BUILD_DIR)/include/linux/bcma \
1522 $(PKG_BUILD_DIR)/include/net/bluetooth
1523
1524 rm -f \
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
1531
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
1534 endef
1535
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
1540 endef
1541 endif
1542
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
1547 endef
1548
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)
1553 endef
1554
1555 define Build/InstallDev
1556 mkdir -p \
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/
1565 endef
1566
1567 define KernelPackage/libertas-usb/install
1568 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1569 $(INSTALL_DATA) \
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/
1573 endef
1574
1575 define KernelPackage/libertas-sd/install
1576 $(INSTALL_DIR) $(1)/lib/firmware/libertas
1577 $(INSTALL_DATA) \
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
1585 endef
1586
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
1591 endef
1592
1593 define KernelPackage/p54-pci/install
1594 $(INSTALL_DIR) $(1)/lib/firmware
1595 $(INSTALL_DATA) $(DL_DIR)/$(P54PCIFW) $(1)/lib/firmware/isl3886pci
1596 endef
1597
1598 define KernelPackage/p54-usb/install
1599 $(INSTALL_DIR) $(1)/lib/firmware
1600 $(INSTALL_DATA) $(DL_DIR)/$(P54USBFW) $(1)/lib/firmware/isl3887usb
1601 endef
1602
1603 define KernelPackage/p54-spi/install
1604 $(INSTALL_DIR) $(1)/lib/firmware
1605 $(INSTALL_DATA) $(DL_DIR)/$(P54SPIFW) $(1)/lib/firmware/3826.arm
1606 endef
1607
1608 define KernelPackage/rt61-pci/install
1609 $(INSTALL_DIR) $(1)/lib/firmware
1610 $(INSTALL_DATA) \
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 \
1614 $(1)/lib/firmware/
1615 endef
1616
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/
1620 endef
1621
1622 define KernelPackage/rt2800-pci/install
1623 $(INSTALL_DIR) $(1)/lib/firmware
1624 $(INSTALL_DATA) \
1625 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt2860.bin \
1626 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/rt3290.bin \
1627 $(1)/lib/firmware
1628 endef
1629
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/
1633 endef
1634
1635 define KernelPackage/wl12xx/install
1636 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1637 $(INSTALL_DATA) \
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
1647 endef
1648
1649 define KernelPackage/wl18xx/install
1650 $(INSTALL_DIR) $(1)/lib/firmware/ti-connectivity
1651 $(INSTALL_DATA) \
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
1655 endef
1656
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
1660 endef
1661
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
1665 endef
1666
1667 define KernelPackage/ath9k-htc/install
1668 $(INSTALL_DIR) $(1)/lib/firmware
1669 $(INSTALL_DATA) \
1670 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_9271.fw \
1671 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/htc_7010.fw \
1672 $(1)/lib/firmware/
1673 endef
1674
1675 define KernelPackage/ath10k/install
1676 $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0
1677 ifeq ($(CONFIG_ATH10K_STA_FW),y)
1678 $(INSTALL_DATA) \
1679 $(PKG_BUILD_DIR)/$(PKG_ATH10K_LINUX_FIRMWARE_SUBDIR)/ath10k/QCA988X/hw2.0/board.bin \
1680 $(1)/lib/firmware/ath10k/QCA988X/hw2.0/
1681 $(INSTALL_DATA) \
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
1684 else
1685 $(INSTALL_DATA) \
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/
1689 endif
1690 endef
1691
1692 define KernelPackage/mwl8k/install
1693 $(INSTALL_DIR) $(1)/lib/firmware/mwl8k
1694 $(INSTALL_DATA) \
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/
1701 endef
1702
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
1706 endef
1707
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
1711 endef
1712
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
1717 endif
1718 ifneq ($(CONFIG_IWL5150_FW),)
1719 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-5150-2.ucode $(1)/lib/firmware
1720 endif
1721 ifneq ($(CONFIG_IWL1000_FW),)
1722 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-1000-5.ucode $(1)/lib/firmware
1723 endif
1724 ifneq ($(CONFIG_IWL6000_FW),)
1725 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000-4.ucode $(1)/lib/firmware
1726 endif
1727 ifneq ($(CONFIG_IWL6050_FW),)
1728 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6050-5.ucode $(1)/lib/firmware
1729 endif
1730 ifneq ($(CONFIG_IWL6005_FW),)
1731 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2a-6.ucode $(1)/lib/firmware
1732 endif
1733 ifneq ($(CONFIG_IWL6030_FW),)
1734 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-6000g2b-6.ucode $(1)/lib/firmware
1735 endif
1736 ifneq ($(CONFIG_IWL7260_FW),)
1737 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-7260-7.ucode $(1)/lib/firmware
1738 endif
1739 ifneq ($(CONFIG_IWL100_FW),)
1740 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-100-5.ucode $(1)/lib/firmware
1741 endif
1742 ifneq ($(CONFIG_IWL2000_FW),)
1743 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2000-6.ucode $(1)/lib/firmware
1744 endif
1745 ifneq ($(CONFIG_IWL2030_FW),)
1746 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-2030-6.ucode $(1)/lib/firmware
1747 endif
1748 ifneq ($(CONFIG_IWL105_FW),)
1749 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-105-6.ucode $(1)/lib/firmware
1750 endif
1751 ifneq ($(CONFIG_IWL135_FW),)
1752 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/iwlwifi-135-6.ucode $(1)/lib/firmware
1753 endif
1754 endef
1755
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
1759 endef
1760
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
1764 endef
1765
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)"
1770 else
1771 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1772 endif
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
1780 else
1781 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1782 endif
1783 ifneq ($(CONFIG_B43_FW_SQUASH),)
1784 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1785 endif
1786 endef
1787
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"
1793 endif
1794 endef
1795
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)
1801 else
1802 $(INSTALL_DATA) \
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/
1806 endif
1807 endef
1808
1809 define KernelPackage/brcmfmac/install
1810 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1811 $(INSTALL_DATA) \
1812 $(PKG_BUILD_DIR)/$(PKG_LINUX_FIRMWARE_SUBDIR)/brcm/brcmfmac43236b.bin \
1813 $(1)/lib/firmware/brcm/
1814 endef
1815
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))