kernel: kmod-mmc: handle moved mmc_block.ko
[openwrt/openwrt.git] / package / kernel / mac80211 / Makefile
1 #
2 # Copyright (C) 2007-2015 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:=2017-11-01
14 PKG_RELEASE:=1
15 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
16 PKG_HASH:=8437ab7886b988c8152e7a4db30b7f41009e49a3b2cb863edd05da1ecd7eb05a
17
18 PKG_SOURCE:=backports-$(PKG_VERSION).tar.xz
19 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/backports-$(PKG_VERSION)
20 PKG_BUILD_PARALLEL:=1
21
22 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
23
24 PKG_DRIVERS = \
25 adm8211 \
26 airo \
27 ath ath5k ath6kl ath6kl-sdio ath6kl-usb ath9k ath9k-common ath9k-htc ath10k \
28 b43 b43legacy \
29 carl9170 \
30 hermes hermes-pci hermes-pcmcia hermes-plx\
31 iwl-legacy iwl3945 iwl4965 iwlwifi \
32 lib80211 \
33 libipw ipw2100 ipw2200 \
34 libertas-sdio libertas-usb libertas-spi \
35 mac80211-hwsim \
36 mt7601u \
37 mwl8k mwifiex-pcie mwifiex-sdio \
38 p54-common p54-pci p54-spi p54-usb \
39 rt2x00-lib rt2x00-pci rt2x00-usb \
40 rt2400-pci rt2500-pci rt2500-usb \
41 rt2800-lib rt2800-mmio rt2800-pci rt2800-soc rt2800-usb \
42 rt61-pci rt73-usb \
43 rtl8180 rtl8187 \
44 rtlwifi rtlwifi-pci rtlwifi-btcoexist rtlwifi-usb rtl8192c-common \
45 rtl8192ce rtl8192se rtl8192de rtl8192cu rtl8821ae \
46 rtl8xxxu \
47 wlcore wl12xx wl18xx \
48 zd1211rw
49
50 PKG_CONFIG_DEPENDS:= \
51 CONFIG_PACKAGE_kmod-mac80211 \
52 $(patsubst %,CONFIG_PACKAGE_kmod-%,$(PKG_DRIVERS)) \
53 CONFIG_PACKAGE_MAC80211_DEBUGFS \
54 CONFIG_PACKAGE_MAC80211_MESH \
55 CONFIG_PACKAGE_MAC80211_TRACING \
56 CONFIG_PACKAGE_ATH_DEBUG \
57 CONFIG_PACKAGE_ATH_DFS \
58 CONFIG_PACKAGE_B43_DEBUG \
59 CONFIG_PACKAGE_B43_PIO \
60 CONFIG_PACKAGE_B43_PHY_G \
61 CONFIG_PACKAGE_B43_PHY_N \
62 CONFIG_PACKAGE_B43_PHY_LP \
63 CONFIG_PACKAGE_B43_PHY_HT \
64 CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB \
65 CONFIG_PACKAGE_B43_BUSES_BCMA \
66 CONFIG_PACKAGE_B43_BUSES_SSB \
67 CONFIG_PACKAGE_BRCM80211_DEBUG \
68 CONFIG_PACKAGE_IWLWIFI_DEBUG \
69 CONFIG_PACKAGE_IWLWIFI_DEBUGFS \
70 CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS \
71 CONFIG_PACKAGE_RT2X00_DEBUG \
72 CONFIG_PACKAGE_RTLWIFI_DEBUG \
73 CONFIG_ATH9K_SUPPORT_PCOEM \
74 CONFIG_ATH9K_TX99 \
75 CONFIG_ATH_USER_REGD \
76
77 include $(INCLUDE_DIR)/package.mk
78
79 WMENU:=Wireless Drivers
80
81 define KernelPackage/mac80211/Default
82 SUBMENU:=$(WMENU)
83 URL:=https://wireless.wiki.kernel.org/
84 MAINTAINER:=Felix Fietkau <nbd@nbd.name>
85 endef
86
87 define KernelPackage/cfg80211
88 $(call KernelPackage/mac80211/Default)
89 TITLE:=cfg80211 - wireless configuration API
90 DEPENDS+= +iw +wireless-regdb
91 FILES:= \
92 $(PKG_BUILD_DIR)/compat/compat.ko \
93 $(PKG_BUILD_DIR)/net/wireless/cfg80211.ko
94 endef
95
96 define KernelPackage/cfg80211/description
97 cfg80211 is the Linux wireless LAN (802.11) configuration API.
98 endef
99
100 define KernelPackage/mac80211
101 $(call KernelPackage/mac80211/Default)
102 TITLE:=Linux 802.11 Wireless Networking Stack
103 # +kmod-crypto-cmac is a runtime only dependency of net/mac80211/aes_cmac.c
104 DEPENDS+= +kmod-cfg80211 +hostapd-common
105 KCONFIG:=\
106 CONFIG_AVERAGE=y
107 FILES:= $(PKG_BUILD_DIR)/net/mac80211/mac80211.ko
108 MENU:=1
109 endef
110
111 define KernelPackage/mac80211/config
112 if PACKAGE_kmod-mac80211
113
114 config PACKAGE_MAC80211_DEBUGFS
115 bool "Export mac80211 internals in DebugFS"
116 select KERNEL_DEBUG_FS
117 default y
118 help
119 Select this to see extensive information about
120 the internal state of mac80211 in debugfs.
121
122 config PACKAGE_MAC80211_TRACING
123 bool "Enable tracing (mac80211 and supported drivers)"
124 select KERNEL_FTRACE
125 select KERNEL_ENABLE_DEFAULT_TRACERS
126 default n
127 help
128 Select this to enable tracing of mac80211 and
129 related wifi drivers (using trace-cmd).
130
131 config PACKAGE_MAC80211_MESH
132 bool "Enable 802.11s mesh support"
133 default y
134
135 endif
136 endef
137
138 define KernelPackage/mac80211/description
139 Generic IEEE 802.11 Networking Stack (mac80211)
140 endef
141
142 define KernelPackage/adm8211
143 $(call KernelPackage/mac80211/Default)
144 TITLE:=ADMTek 8211 support
145 DEPENDS+=@PCI_SUPPORT +kmod-mac80211 +kmod-eeprom-93cx6
146 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/admtek/adm8211.ko
147 AUTOLOAD:=$(call AutoProbe,adm8211)
148 endef
149
150 define KernelPackage/airo
151 $(call KernelPackage/mac80211/Default)
152 TITLE:=Cisco Aironet driver
153 DEPENDS+=@PCI_SUPPORT +@DRIVER_WEXT_SUPPORT +kmod-cfg80211 @TARGET_x86
154 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/cisco/airo.ko
155 AUTOLOAD:=$(call AutoProbe,airo)
156 endef
157
158 define KernelPackage/airo/description
159 Kernel support for Cisco Aironet cards
160 endef
161
162 define KernelPackage/ath/config
163 if PACKAGE_kmod-ath
164 config ATH_USER_REGD
165 bool "Force Atheros drivers to respect the user's regdomain settings"
166 default y
167 help
168 Atheros' idea of regulatory handling is that the EEPROM of the card defines
169 the regulatory limits and the user is only allowed to restrict the settings
170 even further, even if the country allows frequencies or power levels that
171 are forbidden by the EEPROM settings.
172
173 Select this option if you want the driver to respect the user's decision about
174 regulatory settings.
175
176 config PACKAGE_ATH_DEBUG
177 bool "Atheros wireless debugging"
178 help
179 Say Y, if you want to debug atheros wireless drivers.
180 Only ath9k & ath10k make use of this.
181
182 config PACKAGE_ATH_DFS
183 bool "Enable DFS support"
184 default y
185 help
186 Dynamic frequency selection (DFS) is required for most of the 5 GHz band
187 channels in Europe, US, and Japan.
188
189 Select this option if you want to use such channels.
190
191 endif
192 endef
193
194 define KernelPackage/ath
195 $(call KernelPackage/mac80211/Default)
196 TITLE:=Atheros common driver part
197 DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx||TARGET_ath25 +kmod-mac80211
198 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath.ko
199 MENU:=1
200 endef
201
202 define KernelPackage/ath/description
203 This module contains some common parts needed by Atheros Wireless drivers.
204 endef
205
206 define KernelPackage/ath5k
207 $(call KernelPackage/mac80211/Default)
208 TITLE:=Atheros 5xxx wireless cards support
209 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath5k
210 DEPENDS+= @PCI_SUPPORT||@TARGET_ath25 +kmod-ath +@DRIVER_11W_SUPPORT
211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath5k/ath5k.ko
212 AUTOLOAD:=$(call AutoProbe,ath5k)
213 endef
214
215 define KernelPackage/ath5k/description
216 This module adds support for wireless adapters based on
217 Atheros 5xxx chipset.
218 endef
219
220 define KernelPackage/ath6kl
221 $(call KernelPackage/mac80211/Default)
222 TITLE:=Atheros FullMAC wireless devices (common code for ath6kl_sdio and ath6kl_usb)
223 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
224 HIDDEN:=1
225 DEPENDS+= +kmod-ath +@DRIVER_11N_SUPPORT +@KERNEL_RELAY
226 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
227 endef
228
229 define KernelPackage/ath6kl-sdio
230 $(call KernelPackage/mac80211/Default)
231 TITLE:=Atheros 802.11n SDIO wireless cards support
232 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
233 DEPENDS+= +kmod-mmc +kmod-ath6kl
234 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
235 AUTOLOAD:=$(call AutoProbe,ath6kl_sdio)
236 endef
237
238 define KernelPackage/ath6kl-sdio/description
239 This module adds support for wireless adapters based on
240 Atheros IEEE 802.11n AR6003 and AR6004 family of chipsets.
241 endef
242
243 define KernelPackage/ath6kl-usb
244 $(call KernelPackage/mac80211/Default)
245 TITLE:=Atheros 802.11n USB wireless cards support
246 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath6kl
247 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-ath6kl
248 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath6kl/ath6kl_usb.ko
249 AUTOLOAD:=$(call AutoProbe,ath6kl_usb)
250 endef
251
252 define KernelPackage/ath6kl-usb/description
253 This module adds support for wireless adapters based on the
254 Atheros IEEE 802.11n AR6004 chipset.
255 endef
256
257 define KernelPackage/ath9k-common
258 $(call KernelPackage/mac80211/Default)
259 TITLE:=Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
260 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
261 HIDDEN:=1
262 DEPENDS+= @PCI_SUPPORT||USB_SUPPORT||TARGET_ar71xx +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT +@KERNEL_RELAY
263 FILES:= \
264 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_common.ko \
265 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
266 endef
267
268 define KernelPackage/ath9k
269 $(call KernelPackage/mac80211/Default)
270 TITLE:=Atheros 802.11n PCI wireless cards support
271 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
272 DEPENDS+= @PCI_SUPPORT||TARGET_ar71xx +kmod-ath9k-common
273 FILES:= \
274 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k.ko
275 AUTOLOAD:=$(call AutoProbe,ath9k)
276 endef
277
278 define KernelPackage/ath9k/description
279 This module adds support for wireless adapters based on
280 Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
281 endef
282
283 define KernelPackage/ath9k/config
284
285 config ATH9K_SUPPORT_PCOEM
286 bool "Support chips used in PC OEM cards"
287 depends on PACKAGE_kmod-ath9k
288
289 config ATH9K_TX99
290 bool "Enable TX99 support (WARNING: testing only, breaks normal operation!)"
291 depends on PACKAGE_kmod-ath9k
292
293 config ATH9K_UBNTHSR
294 bool "Support for Ubiquiti UniFi Outdoor+ access point"
295 depends on PACKAGE_kmod-ath9k && TARGET_ar71xx_generic
296 default y
297
298 endef
299
300 define KernelPackage/ath9k-htc
301 $(call KernelPackage/mac80211/Default)
302 TITLE:=Atheros 802.11n USB device support
303 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath9k
304 DEPENDS+= @USB_SUPPORT +kmod-ath9k-common +kmod-usb-core +ath9k-htc-firmware
305 FILES:= \
306 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
307 AUTOLOAD:=$(call AutoProbe,ath9k_htc)
308 endef
309
310 define KernelPackage/ath9k-htc/description
311 This module adds support for wireless adapters based on
312 Atheros USB AR9271 and AR7010 family of chipsets.
313 endef
314
315 define KernelPackage/ath10k
316 $(call KernelPackage/mac80211/Default)
317 TITLE:=Atheros 802.11ac wireless cards support
318 URL:=https://wireless.wiki.kernel.org/en/users/drivers/ath10k
319 DEPENDS+= @PCI_SUPPORT +kmod-ath +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +@DRIVER_11W_SUPPORT +@KERNEL_RELAY
320 FILES:= \
321 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_core.ko \
322 $(PKG_BUILD_DIR)/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
323 AUTOLOAD:=$(call AutoProbe,ath10k_pci)
324 endef
325
326 define KernelPackage/ath10k/description
327 This module adds support for wireless adapters based on
328 Atheros IEEE 802.11ac family of chipsets. For now only
329 PCI is supported.
330 endef
331
332 #Broadcom firmware
333 ifneq ($(CONFIG_B43_FW_6_30),)
334 PKG_B43_FWV4_NAME:=broadcom-wl
335 PKG_B43_FWV4_VERSION:=6.30.163.46
336 PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).wl_apsta.o
337 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
338 PKG_B43_FWV4_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
339 PKG_B43_FWV4_HASH:=a07c3b6b277833c7dbe61daa511f908cd66c5e2763eb7a0859abc36cd9335c2d
340 else
341 ifneq ($(CONFIG_B43_FW_5_10),)
342 PKG_B43_FWV4_NAME:=broadcom-wl
343 PKG_B43_FWV4_VERSION:=5.10.56.27.3
344 PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta/wl_prebuilt.o
345 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)_mipsel.tar.bz2
346 PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
347 PKG_B43_FWV4_HASH:=26a8c370f48fc129d0731cfd751c36cae1419b0bc8ca35781126744e60eae009
348 else
349 ifneq ($(CONFIG_B43_FW_4_178),)
350 PKG_B43_FWV4_NAME:=broadcom-wl
351 PKG_B43_FWV4_VERSION:=4.178.10.4
352 PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
353 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
354 PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
355 PKG_B43_FWV4_HASH:=32f6ad98facbb9045646fdc8b54bb03086d204153253f9c65d0234a5d90ae53f
356 else
357 ifneq ($(CONFIG_B43_FW_5_100_138),)
358 PKG_B43_FWV4_NAME:=broadcom-wl
359 PKG_B43_FWV4_VERSION:=5.100.138
360 PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/linux/wl_apsta.o
361 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
362 PKG_B43_FWV4_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
363 PKG_B43_FWV4_HASH:=f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f
364 else
365 PKG_B43_FWV4_NAME:=broadcom-wl
366 PKG_B43_FWV4_VERSION:=4.150.10.5
367 PKG_B43_FWV4_OBJECT:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION)/driver/wl_apsta_mimo.o
368 PKG_B43_FWV4_SOURCE:=$(PKG_B43_FWV4_NAME)-$(PKG_B43_FWV4_VERSION).tar.bz2
369 PKG_B43_FWV4_SOURCE_URL:=http://mirror2.openwrt.org/sources/
370 PKG_B43_FWV4_HASH:=a9f4e276a4d8d3a1cd0f2eb87080ae89b77f0a7140f06d4e9e2135fc44fdd533
371 endif
372 endif
373 endif
374 endif
375 ifneq ($(CONFIG_B43_OPENFIRMWARE),)
376 PKG_B43_FWV4_NAME:=broadcom-wl
377 PKG_B43_FWV4_VERSION:=5.2
378 PKG_B43_FWV4_OBJECT:=openfwwf-$(PKG_B43_FWV4_VERSION)
379 PKG_B43_FWV4_SOURCE:=openfwwf-$(PKG_B43_FWV4_VERSION).tar.gz
380 PKG_B43_FWV4_SOURCE_URL:=http://netweb.ing.unibs.it/~openfwwf/firmware
381 PKG_B43_FWV4_HASH:=9de03320083201080b2e94b81637ac07a159cf4e6f3481383e1a217e627bc0dc
382 endif
383
384
385 define Download/b43
386 FILE:=$(PKG_B43_FWV4_SOURCE)
387 URL:=$(PKG_B43_FWV4_SOURCE_URL)
388 HASH:=$(PKG_B43_FWV4_HASH)
389 endef
390 $(eval $(call Download,b43))
391
392 define KernelPackage/b43
393 $(call KernelPackage/mac80211/Default)
394 TITLE:=Broadcom 43xx wireless support
395 URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
396 KCONFIG:= \
397 CONFIG_HW_RANDOM=y
398 # Depend on PCI_SUPPORT to make sure we can select kmod-bcma or kmod-ssb
399 DEPENDS += \
400 @PCI_SUPPORT +kmod-mac80211 \
401 $(if $(CONFIG_PACKAGE_B43_USE_SSB),+kmod-ssb) \
402 $(if $(CONFIG_PACKAGE_B43_USE_BCMA),+kmod-bcma)
403 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43/b43.ko
404 AUTOLOAD:=$(call AutoProbe,b43)
405 MENU:=1
406 endef
407
408 define KernelPackage/b43/config
409
410 config PACKAGE_B43_USE_SSB
411 select PACKAGE_kmod-ssb
412 tristate
413 depends on !TARGET_brcm47xx && !TARGET_brcm63xx
414 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
415 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_SSB
416
417 config PACKAGE_B43_USE_BCMA
418 select PACKAGE_kmod-bcma
419 tristate
420 depends on !TARGET_brcm47xx && !TARGET_bcm53xx
421 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA_AND_SSB
422 default PACKAGE_kmod-b43 if PACKAGE_B43_BUSES_BCMA
423
424 if PACKAGE_kmod-b43
425
426 choice
427 prompt "b43 firmware version"
428 default B43_FW_5_100_138
429 help
430 This option allows you to select the version of the b43 firmware.
431
432 config B43_FW_4_150
433 bool "Firmware 410.2160 from driver 4.150.10.5 (old stable)"
434 help
435 Old stable firmware for BCM43xx devices.
436
437 If unsure, select this.
438
439 config B43_FW_4_178
440 bool "Firmware 478.104 from driver 4.178.10.4"
441 help
442 Older firmware for BCM43xx devices.
443
444 If unsure, select the "stable" firmware.
445
446 config B43_FW_5_10
447 bool "Firmware 508.1084 from driver 5.10.56.27"
448 help
449 Older firmware for BCM43xx devices.
450
451 If unsure, select the "stable" firmware.
452
453 config B43_FW_5_100_138
454 bool "Firmware 666.2 from driver 5.100.138 (stable)"
455 help
456 The currently default firmware for BCM43xx devices.
457
458 This firmware currently gets most of the testing and is needed for some N-PHY devices.
459
460 If unsure, select the this firmware.
461
462 config B43_FW_6_30
463 bool "Firmware 784.2 from driver 6.30.163.46 (experimental)"
464 help
465 Newer experimental firmware for BCM43xx devices.
466
467 This firmware is mostly untested.
468
469 If unsure, select the "stable" firmware.
470
471 config B43_OPENFIRMWARE
472 bool "Open FirmWare for WiFi networks"
473 help
474 Opensource firmware for BCM43xx devices.
475
476 Do _not_ select this, unless you know what you are doing.
477 The Opensource firmware is not suitable for embedded devices, yet.
478 It does not support QoS, which is bad for AccessPoints.
479 It does not support hardware crypto acceleration, which is a showstopper
480 for embedded devices with low CPU resources.
481
482 If unsure, select the "stable" firmware.
483
484 endchoice
485
486 config B43_FW_SQUASH
487 bool "Remove unnecessary firmware files"
488 depends on !B43_OPENFIRMWARE
489 default y
490 help
491 This options allows you to remove unnecessary b43 firmware files
492 from the final rootfs image. This can reduce the rootfs size by
493 up to 200k.
494
495 If unsure, say Y.
496
497 config B43_FW_SQUASH_COREREVS
498 string "Core revisions to include"
499 depends on B43_FW_SQUASH
500 default "5,6,7,8,9,10,11,13,15" if TARGET_brcm47xx_legacy
501 default "16,28,29,30" if TARGET_brcm47xx_mips74k
502 default "5,6,7,8,9,10,11,13,15,16,28,29,30"
503 help
504 This is a comma seperated list of core revision numbers.
505
506 Example (keep files for rev5 only):
507 5
508
509 Example (keep files for rev5 and rev11):
510 5,11
511
512 config B43_FW_SQUASH_PHYTYPES
513 string "PHY types to include"
514 depends on B43_FW_SQUASH
515 default "G,N,LP" if TARGET_brcm47xx_legacy
516 default "N,HT" if TARGET_brcm47xx_mips74k
517 default "G,N,LP,HT"
518 help
519 This is a comma seperated list of PHY types:
520 A => A-PHY
521 AG => Dual A-PHY G-PHY
522 G => G-PHY
523 LP => LP-PHY
524 N => N-PHY
525 HT => HT-PHY
526 LCN => LCN-PHY
527 LCN40 => LCN40-PHY
528 AC => AC-PHY
529
530 Example (keep files for G-PHY only):
531 G
532
533 Example (keep files for G-PHY and N-PHY):
534 G,N
535
536 choice
537 prompt "Supported buses"
538 default PACKAGE_B43_BUSES_BCMA_AND_SSB
539 help
540 This allows choosing buses that b43 should support.
541
542 config PACKAGE_B43_BUSES_BCMA_AND_SSB
543 depends on !TARGET_brcm47xx_legacy && !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
544 bool "BCMA and SSB"
545
546 config PACKAGE_B43_BUSES_BCMA
547 depends on !TARGET_brcm47xx_legacy
548 bool "BCMA only"
549
550 config PACKAGE_B43_BUSES_SSB
551 depends on !TARGET_brcm47xx_mips74k && !TARGET_bcm53xx
552 bool "SSB only"
553
554 endchoice
555
556 config PACKAGE_B43_DEBUG
557 bool "Enable debug output and debugfs for b43"
558 default n
559 help
560 Enable additional debug output and runtime sanity checks for b43
561 and enables the debugfs interface.
562
563 If unsure, say N.
564
565 config PACKAGE_B43_PIO
566 bool "Enable support for PIO transfer mode"
567 default n
568 help
569 Enable support for using PIO instead of DMA. Unless you have DMA
570 transfer problems you don't need this.
571
572 If unsure, say N.
573
574 config PACKAGE_B43_PHY_G
575 bool "Enable support for G-PHYs"
576 default n if TARGET_brcm47xx_mips74k
577 default y
578 help
579 Enable support for G-PHY. This includes support for the following devices:
580 PCI: BCM4306, BCM4311, BCM4318
581 SoC: BCM5352E, BCM4712
582
583 If unsure, say Y.
584
585 config PACKAGE_B43_PHY_N
586 bool "Enable support for N-PHYs"
587 default y
588 help
589 Enable support for N-PHY. This includes support for the following devices:
590 PCI: BCM4321, BCM4322, BCM43222, BCM43224, BCM43225
591 SoC: BCM4716, BCM4717, BCM4718
592
593 Currently only 11g speed is available.
594
595 If unsure, say Y.
596
597 config PACKAGE_B43_PHY_LP
598 bool "Enable support for LP-PHYs"
599 default n if TARGET_brcm47xx_mips74k
600 default y
601 help
602 Enable support for LP-PHY. This includes support for the following devices:
603 PCI: BCM4312
604 SoC: BCM5354
605
606 If unsure, say Y.
607
608 config PACKAGE_B43_PHY_HT
609 bool "Enable support for HT-PHYs"
610 default n if TARGET_brcm47xx_legacy
611 default y
612 help
613 Enable support for HT-PHY. This includes support for the following devices:
614 PCI: BCM4331
615
616 Currently only 11g speed is available.
617
618 If unsure, say Y.
619
620 config PACKAGE_B43_PHY_LCN
621 bool "Enable support for LCN-PHYs"
622 depends on BROKEN
623 default n
624 help
625 Currently broken.
626
627 If unsure, say N.
628
629 endif
630 endef
631
632 define KernelPackage/b43/description
633 Kernel module for Broadcom 43xx wireless support (mac80211 stack) new
634 endef
635
636 define KernelPackage/b43legacy
637 $(call KernelPackage/mac80211/Default)
638 TITLE:=Broadcom 43xx-legacy wireless support
639 URL:=https://wireless.wiki.kernel.org/en/users/drivers/b43
640 KCONFIG:= \
641 CONFIG_HW_RANDOM=y
642 DEPENDS+= +kmod-mac80211 +!(TARGET_brcm47xx||TARGET_brcm63xx):kmod-ssb +b43legacy-firmware
643 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/b43legacy/b43legacy.ko
644 AUTOLOAD:=$(call AutoProbe,b43legacy)
645 MENU:=1
646 endef
647
648 define KernelPackage/b43legacy/description
649 Kernel module for Broadcom 43xx-legacy wireless support (mac80211 stack) new
650 endef
651
652
653 define KernelPackage/brcmutil
654 $(call KernelPackage/mac80211/Default)
655 TITLE:=Broadcom IEEE802.11n common driver parts
656 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
657 DEPENDS+=@PCI_SUPPORT||USB_SUPPORT
658 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko
659 AUTOLOAD:=$(call AutoProbe,brcmutil)
660 MENU:=1
661 endef
662
663 define KernelPackage/brcmutil/description
664 This module contains some common parts needed by Broadcom Wireless drivers brcmsmac and brcmfmac.
665 endef
666
667 define KernelPackage/brcmutil/config
668 if PACKAGE_kmod-brcmutil
669
670 config PACKAGE_BRCM80211_DEBUG
671 bool "Broadcom wireless driver debugging"
672 help
673 Say Y, if you want to debug brcmsmac and brcmfmac wireless driver.
674
675 endif
676 endef
677
678 PKG_BRCMSMAC_FW_NAME:=broadcom-wl
679 PKG_BRCMSMAC_FW_VERSION:=5.100.138
680 PKG_BRCMSMAC_FW_OBJECT:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION)/linux/wl_apsta.o
681 PKG_BRCMSMAC_FW_SOURCE:=$(PKG_BRCMSMAC_FW_NAME)-$(PKG_BRCMSMAC_FW_VERSION).tar.bz2
682 PKG_BRCMSMAC_FW_SOURCE_URL:=http://www.lwfinger.com/b43-firmware/
683 PKG_BRCMSMAC_FW_HASH:=f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f
684
685 define Download/brcmsmac
686 FILE:=$(PKG_BRCMSMAC_FW_SOURCE)
687 URL:=$(PKG_BRCMSMAC_FW_SOURCE_URL)
688 HASH:=$(PKG_BRCMSMAC_FW_HASH)
689 endef
690 $(eval $(call Download,brcmsmac))
691
692 define KernelPackage/brcmsmac
693 $(call KernelPackage/mac80211/Default)
694 TITLE:=Broadcom IEEE802.11n PCIe SoftMAC WLAN driver
695 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
696 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT +!TARGET_brcm47xx:kmod-bcma +kmod-lib-cordic +kmod-lib-crc8 +kmod-brcmutil +!BRCMSMAC_USE_FW_FROM_WL:brcmsmac-firmware
697 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcmsmac.ko
698 AUTOLOAD:=$(call AutoProbe,brcmsmac)
699 MENU:=1
700 endef
701
702 define KernelPackage/brcmsmac/description
703 Kernel module for Broadcom IEEE802.11n PCIe Wireless cards
704 endef
705
706 define KernelPackage/brcmsmac/config
707 if PACKAGE_kmod-brcmsmac
708
709 config BRCMSMAC_USE_FW_FROM_WL
710 bool "Use firmware extracted from broadcom proprietary driver"
711 default y
712 help
713 Instead of using the official brcmsmac firmware a firmware
714 version 666.2 extracted from the proprietary Broadcom driver
715 is used. This is needed to get core rev 17 used in bcm4716
716 to work.
717
718 If unsure, say Y.
719
720 endif
721 endef
722
723
724 define KernelPackage/brcmfmac
725 $(call KernelPackage/mac80211/Default)
726 TITLE:=Broadcom IEEE802.11n USB FullMAC WLAN driver
727 URL:=https://wireless.wiki.kernel.org/en/users/drivers/brcm80211
728 DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +kmod-brcmutil \
729 +BRCMFMAC_SDIO:kmod-mmc @!TARGET_uml \
730 +BRCMFMAC_USB:kmod-usb-core +BRCMFMAC_USB:brcmfmac-firmware-usb
731 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko
732 AUTOLOAD:=$(call AutoProbe,brcmfmac)
733 endef
734
735 define KernelPackage/brcmfmac/description
736 Kernel module for Broadcom IEEE802.11n USB Wireless cards
737 endef
738
739 define KernelPackage/brcmfmac/config
740 if PACKAGE_kmod-brcmfmac
741
742 config BRCMFMAC_SDIO
743 bool "Enable SDIO bus interface support"
744 default y if TARGET_brcm2708
745 default y if TARGET_sunxi
746 default n
747 help
748 Enable support for cards attached to an SDIO bus.
749 Select this option only if you are sure that your
750 board has a Broadcom wireless chip atacched to
751 that bus.
752
753 config BRCMFMAC_USB
754 bool "Enable USB bus interface support"
755 depends on USB_SUPPORT
756 default y
757 help
758 Supported USB connected chipsets:
759 BCM43235, BCM43236, BCM43238 (all in revision 3 only)
760 BCM43143, BCM43242, BCM43566, BCM43569
761
762 config BRCMFMAC_PCIE
763 bool "Enable PCIE bus interface support"
764 depends on PCI_SUPPORT
765 default y
766 help
767 Supported PCIe connected chipsets:
768 BCM4354, BCM4356, BCM43567, BCM43570, BCM43602
769
770 endif
771 endef
772
773
774 define KernelPackage/carl9170
775 $(call KernelPackage/mac80211/Default)
776 TITLE:=Driver for Atheros AR9170 USB sticks
777 DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT +carl9170-firmware
778 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
779 AUTOLOAD:=$(call AutoProbe,carl9170)
780 endef
781
782
783 define KernelPackage/hermes
784 $(call KernelPackage/mac80211/Default)
785 TITLE:=Hermes 802.11b chipset support
786 DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT +kmod-crypto-michael-mic
787 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco.ko
788 AUTOLOAD:=$(call AutoProbe,orinoco)
789 endef
790
791 define KernelPackage/hermes/description
792 Kernel support for Hermes 802.11b chipsets
793 endef
794
795 define KernelPackage/hermes-pci
796 $(call KernelPackage/mac80211/Default)
797 TITLE:=Intersil Prism 2.5 PCI support
798 DEPENDS:=@PCI_SUPPORT +kmod-hermes
799 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_pci.ko
800 AUTOLOAD:=$(call AutoProbe,orinoco_pci)
801 endef
802
803 define KernelPackage/hermes-pci/description
804 Kernel modules for Intersil Prism 2.5 PCI support
805 endef
806
807 define KernelPackage/hermes-plx
808 $(call KernelPackage/mac80211/Default)
809 TITLE:=PLX9052 based PCI adaptor
810 DEPENDS:=@PCI_SUPPORT +kmod-hermes
811 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_plx.ko
812 AUTOLOAD:=$(call AutoProbe,orinoco_plx)
813 endef
814
815 define KernelPackage/hermes-plx/description
816 Kernel modules for Hermes in PLX9052 based PCI adaptors
817 endef
818
819 define KernelPackage/hermes-pcmcia
820 $(call KernelPackage/mac80211/Default)
821 TITLE:=Hermes based PCMCIA adaptors
822 DEPENDS:=@PCMCIA_SUPPORT +kmod-hermes @BROKEN
823 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_cs.ko
824 AUTOLOAD:=$(call AutoProbe,orinoco_cs)
825 endef
826
827 define KernelPackage/hermes-pcmcia/description
828 Kernel modules for Hermes based PCMCIA adaptors
829 endef
830
831
832 define KernelPackage/iwlwifi
833 $(call KernelPackage/mac80211/Default)
834 DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @!LINUX_3_18
835 TITLE:=Intel AGN Wireless support
836 FILES:= \
837 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
838 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko \
839 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
840 AUTOLOAD:=$(call AutoProbe,iwlwifi iwldvm iwlmvm)
841 MENU:=1
842 endef
843
844 define KernelPackage/iwlwifi/description
845 iwlwifi kernel module for
846 Intel Wireless WiFi Link 6250AGN Adapter
847 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
848 Intel WiFi Link 1000BGN
849 Intel Wireless WiFi 5150AGN
850 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
851 Intel 6005 Series Wi-Fi Adapters
852 Intel 6030 Series Wi-Fi Adapters
853 Intel Wireless WiFi Link 6150BGN 2 Adapter
854 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
855 Intel 2000 Series Wi-Fi Adapters
856 Intel 7260 Wi-Fi Adapter
857 Intel 3160 Wi-Fi Adapter
858 Intel 7265 Wi-Fi Adapter
859 Intel 8260 Wi-Fi Adapter
860 Intel 3165 Wi-Fi Adapter
861 endef
862
863 define KernelPackage/iwlwifi/config
864 if PACKAGE_kmod-iwlwifi
865
866 config PACKAGE_IWLWIFI_DEBUG
867 bool "Enable full debugging output in the iwlwifi driver"
868 default n
869 help
870 This option will enable debug tracing output for the iwlwifi drivers
871
872 This will result in the kernel module being ~100k larger. You can
873 control which debug output is sent to the kernel log by setting the
874 value in
875
876 /sys/module/iwlwifi/parameters/debug
877
878 This entry will only exist if this option is enabled.
879
880 To set a value, simply echo an 8-byte hex value to the same file:
881
882 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
883
884 You can find the list of debug mask values in:
885 drivers/net/wireless/intel/iwlwifi/iwl-debug.h
886
887 If this is your first time using this driver, you should say Y here
888 as the debug information can assist others in helping you resolve
889 any problems you may encounter.
890
891 config PACKAGE_IWLWIFI_DEBUGFS
892 bool "iwlwifi debugfs support"
893 depends on PACKAGE_MAC80211_DEBUGFS
894 default n
895 help
896 Enable creation of debugfs files for the iwlwifi drivers. This
897 is a low-impact option that allows getting insight into the
898 driver's state at runtime.
899
900 endif
901 endef
902
903 define KernelPackage/iwl-legacy
904 $(call KernelPackage/mac80211/Default)
905 DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
906 TITLE:=Intel legacy Wireless support
907 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko
908 AUTOLOAD:=$(call AutoProbe,iwlegacy)
909 endef
910
911 define KernelPackage/iwl-legacy/description
912 iwl-legacy kernel module for legacy Intel wireless support
913 endef
914
915 define KernelPackage/iwl3945
916 $(call KernelPackage/mac80211/Default)
917 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +iwl3945-firmware
918 TITLE:=Intel iwl3945 Wireless support
919 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl3945.ko
920 AUTOLOAD:=$(call AutoProbe,iwl3945)
921 endef
922
923 define KernelPackage/iwl3945/description
924 iwl3945 kernel module for Intel 3945 support
925 endef
926
927 define KernelPackage/iwl4965
928 $(call KernelPackage/mac80211/Default)
929 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +@DRIVER_11N_SUPPORT +iwl4965-firmware
930 TITLE:=Intel iwl4965 Wireless support
931 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
932 AUTOLOAD:=$(call AutoProbe,iwl4965)
933 endef
934
935 define KernelPackage/iwl4965/description
936 iwl4965 kernel module for Intel 4965 support
937 endef
938
939
940 define KernelPackage/lib80211
941 $(call KernelPackage/mac80211/Default)
942 TITLE:=802.11 Networking stack
943 DEPENDS:=+kmod-cfg80211 +kmod-crypto-hash
944 FILES:= \
945 $(PKG_BUILD_DIR)/net/wireless/lib80211.ko \
946 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \
947 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
948 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko
949 AUTOLOAD:=$(call AutoProbe, \
950 lib80211 \
951 lib80211_crypt_wep \
952 lib80211_crypt_ccmp \
953 lib80211_crypt_tkip \
954 )
955 endef
956
957 define KernelPackage/lib80211/description
958 Kernel modules for 802.11 Networking stack
959 Includes:
960 - lib80211
961 - lib80211_crypt_wep
962 - lib80211_crypt_tkip
963 - lib80211_crytp_ccmp
964 endef
965
966
967 define KernelPackage/libipw
968 $(call KernelPackage/mac80211/Default)
969 TITLE:=libipw for ipw2100 and ipw2200
970 DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-crypto-ecb +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT @!BIG_ENDIAN @!LINUX_3_18
971 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/libipw.ko
972 AUTOLOAD:=$(call AutoProbe,libipw)
973 endef
974
975 define KernelPackage/libipw/description
976 Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
977 endef
978
979 IPW2100_NAME:=ipw2100-fw
980 IPW2100_VERSION:=1.3
981
982 define Download/ipw2100
983 URL:=http://bughost.org/firmware/
984 FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
985 HASH:=e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2
986 endef
987 $(eval $(call Download,ipw2100))
988
989 define KernelPackage/ipw2100
990 $(call KernelPackage/mac80211/Default)
991 TITLE:=Intel IPW2100 driver
992 DEPENDS:=@PCI_SUPPORT +kmod-libipw
993 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2100.ko
994 AUTOLOAD:=$(call AutoProbe,ipw2100)
995 endef
996
997 define KernelPackage/ipw2100/description
998 Kernel support for Intel IPW2100
999 Includes:
1000 - ipw2100
1001 endef
1002
1003 IPW2200_NAME:=ipw2200-fw
1004 IPW2200_VERSION:=3.1
1005
1006 define Download/ipw2200
1007 URL:=http://bughost.org/firmware/
1008 FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1009 HASH:=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
1010 endef
1011 $(eval $(call Download,ipw2200))
1012
1013 define KernelPackage/ipw2200
1014 $(call KernelPackage/mac80211/Default)
1015 TITLE:=Intel IPW2200 driver
1016 DEPENDS:=@PCI_SUPPORT +kmod-libipw
1017 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2200.ko
1018 AUTOLOAD:=$(call AutoProbe,ipw2200)
1019 endef
1020
1021 define KernelPackage/ipw2200/description
1022 Kernel support for Intel IPW2200
1023 Includes:
1024 - ipw2200
1025 endef
1026
1027
1028 define KernelPackage/libertas-usb
1029 $(call KernelPackage/mac80211/Default)
1030 DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware @!LINUX_3_18
1031 TITLE:=Marvell 88W8015 Wireless Driver
1032 FILES:= \
1033 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1034 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko
1035 AUTOLOAD:=$(call AutoProbe,libertas usb8xxx)
1036 endef
1037
1038 define KernelPackage/libertas-sdio
1039 $(call KernelPackage/mac80211/Default)
1040 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware @!LINUX_3_18
1041 TITLE:=Marvell 88W8686 Wireless Driver
1042 FILES:= \
1043 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1044 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
1045 AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
1046 endef
1047
1048 define KernelPackage/libertas-spi
1049 $(call KernelPackage/mac80211/Default)
1050 SUBMENU:=Wireless Drivers
1051 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware @!LINUX_3_18
1052 KCONFIG := \
1053 CONFIG_SPI=y \
1054 CONFIG_SPI_MASTER=y
1055 TITLE:=Marvell 88W8686 SPI Wireless Driver
1056 FILES:= \
1057 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1058 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
1059 AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
1060 endef
1061
1062 define KernelPackage/mac80211-hwsim
1063 $(call KernelPackage/mac80211/Default)
1064 TITLE:=mac80211 HW simulation device
1065 DEPENDS+= +kmod-mac80211 +@DRIVER_11AC_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT
1066 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
1067 AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
1068 endef
1069
1070
1071 define KernelPackage/mt7601u
1072 $(call KernelPackage/mac80211/Default)
1073 TITLE:=MT7601U-based USB dongles Wireless Driver
1074 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT @USB_SUPPORT +kmod-usb-core +mt7601u-firmware
1075 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
1076 AUTOLOAD:=$(call AutoProbe,mt7601u)
1077 endef
1078
1079
1080 define KernelPackage/mwl8k
1081 $(call KernelPackage/mac80211/Default)
1082 TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
1083 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwl8k
1084 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
1085 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
1086 AUTOLOAD:=$(call AutoProbe,mwl8k)
1087 endef
1088
1089 define KernelPackage/mwl8k/description
1090 Kernel modules for Marvell TOPDOG 802.11 Wireless cards
1091 endef
1092
1093
1094 define KernelPackage/mwifiex-pcie
1095 $(call KernelPackage/mac80211/Default)
1096 TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
1097 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
1098 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-pcie-firmware
1099 FILES:= \
1100 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
1101 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
1102 AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
1103 endef
1104
1105 define KernelPackage/mwifiex-pcie/description
1106 Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
1107 endef
1108
1109 define KernelPackage/mwifiex-sdio
1110 $(call KernelPackage/mac80211/Default)
1111 TITLE:=Driver for Marvell 802.11n/802.11ac SDIO Wireless cards
1112 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
1113 DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-sdio-firmware
1114 FILES:= \
1115 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
1116 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
1117 AUTOLOAD:=$(call AutoProbe,mwifiex_sdio)
1118 endef
1119
1120 define KernelPackage/mwifiex-sdio/description
1121 Kernel modules for Marvell 802.11n/802.11ac SDIO Wireless cards
1122 endef
1123
1124 define KernelPackage/p54/Default
1125 $(call KernelPackage/mac80211/Default)
1126 TITLE:=Prism54 Drivers
1127 endef
1128
1129 define KernelPackage/p54/description
1130 Kernel module for Prism54 chipsets (mac80211)
1131 endef
1132
1133 define KernelPackage/p54-common
1134 $(call KernelPackage/p54/Default)
1135 DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
1136 TITLE+= (COMMON)
1137 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54common.ko
1138 endef
1139
1140 define KernelPackage/p54-pci
1141 $(call KernelPackage/p54/Default)
1142 TITLE+= (PCI)
1143 DEPENDS+= @PCI_SUPPORT +kmod-p54-common +p54-pci-firmware
1144 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54pci.ko
1145 AUTOLOAD:=$(call AutoProbe,p54pci)
1146 endef
1147
1148 define KernelPackage/p54-usb
1149 $(call KernelPackage/p54/Default)
1150 TITLE+= (USB)
1151 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common +p54-usb-firmware
1152 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54usb.ko
1153 AUTOLOAD:=$(call AutoProbe,p54usb)
1154 endef
1155
1156 define KernelPackage/p54-spi
1157 $(call KernelPackage/p54/Default)
1158 TITLE+= (SPI)
1159 DEPENDS+= @TARGET_omap24xx +kmod-p54-common +p54-spi-firmware
1160 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54spi.ko
1161 AUTOLOAD:=$(call AutoProbe,p54spi)
1162 endef
1163
1164 define KernelPackage/rt2x00/Default
1165 $(call KernelPackage/mac80211/Default)
1166 TITLE:=Ralink Drivers for RT2x00 cards
1167 endef
1168
1169 define KernelPackage/rt2x00-lib
1170 $(call KernelPackage/rt2x00/Default)
1171 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t
1172 TITLE+= (LIB)
1173 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
1174 MENU:=1
1175 endef
1176
1177 define KernelPackage/rt2x00-lib/config
1178 if PACKAGE_kmod-rt2x00-lib
1179
1180 config PACKAGE_RT2X00_LIB_DEBUGFS
1181 bool "Enable rt2x00 debugfs support"
1182 depends on PACKAGE_MAC80211_DEBUGFS
1183 help
1184 Enable creation of debugfs files for the rt2x00 drivers.
1185 These debugfs files support both reading and writing of the
1186 most important register types of the rt2x00 hardware.
1187
1188 config PACKAGE_RT2X00_DEBUG
1189 bool "Enable rt2x00 debug output"
1190 help
1191 Enable debugging output for all rt2x00 modules
1192
1193 endif
1194 endef
1195
1196 define KernelPackage/rt2x00-mmio
1197 $(call KernelPackage/rt2x00/Default)
1198 DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
1199 HIDDEN:=1
1200 TITLE+= (MMIO)
1201 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
1202 endef
1203
1204 define KernelPackage/rt2x00-pci
1205 $(call KernelPackage/rt2x00/Default)
1206 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib
1207 HIDDEN:=1
1208 TITLE+= (PCI)
1209 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
1210 AUTOLOAD:=$(call AutoProbe,rt2x00pci)
1211 endef
1212
1213 define KernelPackage/rt2x00-usb
1214 $(call KernelPackage/rt2x00/Default)
1215 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
1216 HIDDEN:=1
1217 TITLE+= (USB)
1218 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
1219 AUTOLOAD:=$(call AutoProbe,rt2x00usb)
1220 endef
1221
1222 define KernelPackage/rt2800-lib
1223 $(call KernelPackage/rt2x00/Default)
1224 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT
1225 HIDDEN:=1
1226 TITLE+= (rt2800 LIB)
1227 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
1228 endef
1229
1230 define KernelPackage/rt2400-pci
1231 $(call KernelPackage/rt2x00/Default)
1232 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
1233 TITLE+= (RT2400 PCI)
1234 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2400pci.ko
1235 AUTOLOAD:=$(call AutoProbe,rt2400pci)
1236 endef
1237
1238 define KernelPackage/rt2500-pci
1239 $(call KernelPackage/rt2x00/Default)
1240 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
1241 TITLE+= (RT2500 PCI)
1242 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500pci.ko
1243 AUTOLOAD:=$(call AutoProbe,rt2500pci)
1244 endef
1245
1246 define KernelPackage/rt2500-usb
1247 $(call KernelPackage/rt2x00/Default)
1248 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
1249 TITLE+= (RT2500 USB)
1250 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500usb.ko
1251 AUTOLOAD:=$(call AutoProbe,rt2500usb)
1252 endef
1253
1254 define KernelPackage/rt2800-mmio
1255 $(call KernelPackage/rt2x00/Default)
1256 TITLE += (RT28xx/RT3xxx MMIO)
1257 DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
1258 HIDDEN:=1
1259 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
1260 endef
1261
1262 define KernelPackage/rt2800-soc
1263 $(call KernelPackage/rt2x00/Default)
1264 DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
1265 TITLE += (RT28xx/RT3xxx SoC)
1266 FILES := \
1267 $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
1268 $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
1269 AUTOLOAD:=$(call AutoProbe,rt2800soc)
1270 endef
1271
1272 define KernelPackage/rt2800-pci
1273 $(call KernelPackage/rt2x00/Default)
1274 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-rt2800-mmio +rt2800-pci-firmware
1275 TITLE+= (RT2860 PCI)
1276 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
1277 AUTOLOAD:=$(call AutoProbe,rt2800pci)
1278 endef
1279
1280 define KernelPackage/rt2800-usb
1281 $(call KernelPackage/rt2x00/Default)
1282 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt +rt2800-usb-firmware
1283 TITLE+= (RT2870 USB)
1284 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
1285 AUTOLOAD:=$(call AutoProbe,rt2800usb)
1286 endef
1287
1288
1289 define KernelPackage/rt61-pci
1290 $(call KernelPackage/rt2x00/Default)
1291 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +rt61-pci-firmware
1292 TITLE+= (RT2x61 PCI)
1293 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
1294 AUTOLOAD:=$(call AutoProbe,rt61pci)
1295 endef
1296
1297 define KernelPackage/rt73-usb
1298 $(call KernelPackage/rt2x00/Default)
1299 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +rt73-usb-firmware
1300 TITLE+= (RT73 USB)
1301 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
1302 AUTOLOAD:=$(call AutoProbe,rt73usb)
1303 endef
1304
1305
1306 define KernelPackage/rtl818x/Default
1307 $(call KernelPackage/mac80211/Default)
1308 TITLE:=Realtek Drivers for RTL818x devices
1309 URL:=https://wireless.wiki.kernel.org/en/users/drivers/rtl8187
1310 DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211
1311 endef
1312
1313 define KernelPackage/rtl8180
1314 $(call KernelPackage/rtl818x/Default)
1315 DEPENDS+= @PCI_SUPPORT
1316 TITLE+= (RTL8180 PCI)
1317 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl818x_pci.ko
1318 AUTOLOAD:=$(call AutoProbe,rtl818x_pci)
1319 endef
1320
1321 define KernelPackage/rtl8187
1322 $(call KernelPackage/rtl818x/Default)
1323 DEPENDS+= @USB_SUPPORT +kmod-usb-core
1324 TITLE+= (RTL8187 USB)
1325 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko
1326 AUTOLOAD:=$(call AutoProbe,rtl8187)
1327 endef
1328
1329 define KernelPackage/rtlwifi/config
1330 config PACKAGE_RTLWIFI_DEBUG
1331 bool "Realtek wireless debugging"
1332 depends on PACKAGE_kmod-rtlwifi
1333 help
1334 Say Y, if you want to debug realtek wireless drivers.
1335
1336 endef
1337
1338 define KernelPackage/rtlwifi
1339 $(call KernelPackage/mac80211/Default)
1340 TITLE:=Realtek common driver part
1341 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT
1342 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
1343 HIDDEN:=1
1344 endef
1345
1346 define KernelPackage/rtlwifi-pci
1347 $(call KernelPackage/mac80211/Default)
1348 TITLE:=Realtek common driver part (PCI support)
1349 DEPENDS+= @PCI_SUPPORT +kmod-rtlwifi
1350 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
1351 AUTOLOAD:=$(call AutoProbe,rtl_pci)
1352 HIDDEN:=1
1353 endef
1354
1355 define KernelPackage/rtlwifi-btcoexist
1356 $(call KernelPackage/mac80211/Default)
1357 TITLE:=Realtek BT coexist support
1358 DEPENDS+= +kmod-rtlwifi
1359 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/btcoexist/btcoexist.ko
1360 AUTOLOAD:=$(call AutoProbe,btcoexist)
1361 HIDDEN:=1
1362 endef
1363
1364 define KernelPackage/rtlwifi-usb
1365 $(call KernelPackage/mac80211/Default)
1366 TITLE:=Realtek common driver part (USB support)
1367 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-rtlwifi
1368 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
1369 AUTOLOAD:=$(call AutoProbe,rtl_usb)
1370 HIDDEN:=1
1371 endef
1372
1373 define KernelPackage/rtl8192c-common
1374 $(call KernelPackage/mac80211/Default)
1375 TITLE:=Realtek RTL8192CE/RTL8192CU common support module
1376 DEPENDS+= +kmod-rtlwifi
1377 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
1378 HIDDEN:=1
1379 endef
1380
1381 define KernelPackage/rtl8192ce
1382 $(call KernelPackage/mac80211/Default)
1383 TITLE:=Realtek RTL8192CE/RTL8188CE support
1384 DEPENDS+= +kmod-rtlwifi-pci +kmod-rtl8192c-common +rtl8192ce-firmware
1385 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
1386 AUTOLOAD:=$(call AutoProbe,rtl8192ce)
1387 endef
1388
1389 define KernelPackage/rtl8192se
1390 $(call KernelPackage/mac80211/Default)
1391 TITLE:=Realtek RTL8192SE/RTL8191SE support
1392 DEPENDS+= +kmod-rtlwifi-pci +rtl8192se-firmware
1393 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rtl8192se.ko
1394 AUTOLOAD:=$(call AutoProbe,rtl8192se)
1395 endef
1396
1397 define KernelPackage/rtl8192de
1398 $(call KernelPackage/mac80211/Default)
1399 TITLE:=Realtek RTL8192DE/RTL8188DE support
1400 DEPENDS+= +kmod-rtlwifi-pci +rtl8192de-firmware
1401 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192de/rtl8192de.ko
1402 AUTOLOAD:=$(call AutoProbe,rtl8192de)
1403 endef
1404
1405 define KernelPackage/rtl8192cu
1406 $(call KernelPackage/mac80211/Default)
1407 TITLE:=Realtek RTL8192CU/RTL8188CU support
1408 DEPENDS+= +kmod-rtlwifi-usb +kmod-rtl8192c-common +rtl8192cu-firmware
1409 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
1410 AUTOLOAD:=$(call AutoProbe,rtl8192cu)
1411 endef
1412
1413 define KernelPackage/rtl8821ae
1414 $(call KernelPackage/mac80211/Default)
1415 TITLE:=Realtek RTL8821AE support
1416 DEPENDS+= +kmod-rtlwifi-btcoexist +kmod-rtlwifi-pci +rtl8821ae-firmware
1417 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
1418 AUTOLOAD:=$(call AutoProbe,rtl8821ae)
1419 endef
1420
1421 define KernelPackage/rtl8xxxu
1422 $(call KernelPackage/mac80211/Default)
1423 TITLE:=alternative Realtek RTL8XXXU support
1424 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
1425 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
1426 AUTOLOAD:=$(call AutoProbe,rtl8xxxu)
1427 endef
1428
1429 define KernelPackage/rtl8xxxu/description
1430 This is an alternative driver for various Realtek RTL8XXX
1431 parts written to utilize the Linux mac80211 stack.
1432 The driver is known to work with a number of RTL8723AU,
1433 RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices
1434
1435 This driver is under development and has a limited feature
1436 set. In particular it does not yet support 40MHz channels
1437 and power management. However it should have a smaller
1438 memory footprint than the vendor drivers and benetifs
1439 from the in kernel mac80211 stack.
1440
1441 It can coexist with drivers from drivers/staging/rtl8723au,
1442 drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi,
1443 but you will need to control which module you wish to load.
1444
1445 RTL8XXXU_UNTESTED is enabled
1446 This option enables detection of Realtek 8723/8188/8191/8192 WiFi
1447 USB devices which have not been tested directly by the driver
1448 author or reported to be working by third parties.
1449
1450 Please report your results!
1451 endef
1452
1453
1454 define KernelPackage/wlcore
1455 $(call KernelPackage/mac80211/Default)
1456 TITLE:=TI common driver part
1457 DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT
1458 FILES:= \
1459 $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
1460 $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
1461 AUTOLOAD:=$(call AutoProbe,wlcore wlcore_sdio)
1462 endef
1463
1464 define KernelPackage/wlcore/description
1465 This module contains some common parts needed by TI Wireless drivers.
1466 endef
1467
1468 define KernelPackage/wl12xx
1469 $(call KernelPackage/mac80211/Default)
1470 TITLE:=Driver for TI WL12xx
1471 URL:=https://wireless.wiki.kernel.org/en/users/drivers/wl12xx
1472 DEPENDS+= +kmod-wlcore +wl12xx-firmware
1473 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko
1474 AUTOLOAD:=$(call AutoProbe,wl12xx)
1475 endef
1476
1477 define KernelPackage/wl12xx/description
1478 Kernel modules for TI WL12xx
1479 endef
1480
1481 define KernelPackage/wl18xx
1482 $(call KernelPackage/mac80211/Default)
1483 TITLE:=Driver for TI WL18xx
1484 URL:=https://wireless.wiki.kernel.org/en/users/drivers/wl18xx
1485 DEPENDS+= +kmod-wlcore +wl18xx-firmware
1486 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko
1487 AUTOLOAD:=$(call AutoProbe,wl18xx)
1488 endef
1489
1490 define KernelPackage/wl18xx/description
1491 Kernel modules for TI WL18xx
1492 endef
1493
1494
1495 ZD1211FW_NAME:=zd1211-firmware
1496 ZD1211FW_VERSION:=1.4
1497 define Download/zd1211rw
1498 FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1499 URL:=@SF/zd1211/
1500 HASH:=866308f6f59f7075f075d4959dff2ede47735c751251fecd1496df1ba4d338e1
1501 endef
1502 $(eval $(call Download,zd1211rw))
1503
1504 define KernelPackage/zd1211rw
1505 $(call KernelPackage/mac80211/Default)
1506 TITLE:=Zydas ZD1211 support
1507 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
1508 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zydas/zd1211rw/zd1211rw.ko
1509 AUTOLOAD:=$(call AutoProbe,zd1211rw)
1510 endef
1511
1512
1513
1514 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1515
1516 config-y:= \
1517 WLAN \
1518 NL80211_TESTMODE \
1519 CFG80211_WEXT \
1520 CFG80211_CERTIFICATION_ONUS \
1521 MAC80211_RC_MINSTREL \
1522 MAC80211_RC_MINSTREL_HT \
1523 MAC80211_RC_MINSTREL_VHT \
1524 MAC80211_RC_DEFAULT_MINSTREL \
1525 WLAN_VENDOR_ADMTEK \
1526 WLAN_VENDOR_ATH \
1527 WLAN_VENDOR_ATMEL \
1528 WLAN_VENDOR_BROADCOM \
1529 WLAN_VENDOR_CISCO \
1530 WLAN_VENDOR_INTEL \
1531 WLAN_VENDOR_INTERSIL \
1532 WLAN_VENDOR_MARVELL \
1533 WLAN_VENDOR_MEDIATEK \
1534 WLAN_VENDOR_RALINK \
1535 WLAN_VENDOR_REALTEK \
1536 WLAN_VENDOR_RSI \
1537 WLAN_VENDOR_ST \
1538 WLAN_VENDOR_TI \
1539 WLAN_VENDOR_ZYDAS \
1540
1541 config-$(call config_package,cfg80211) += CFG80211
1542
1543 config-$(call config_package,mac80211) += MAC80211
1544 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1545 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1546 config-y += \
1547 CFG80211_DEBUGFS \
1548 MAC80211_DEBUGFS \
1549 ATH9K_DEBUGFS \
1550 ATH9K_HTC_DEBUGFS \
1551 ATH10K_DEBUGFS \
1552 CARL9170_DEBUGFS \
1553 ATH5K_DEBUG \
1554 ATH6KL_DEBUG
1555 endif
1556
1557 ifdef CONFIG_PACKAGE_MAC80211_TRACING
1558 config-y += \
1559 ATH10K_TRACING \
1560 ATH6KL_TRACING \
1561 ATH_TRACEPOINTS \
1562 WIL6210_TRACING \
1563 ATH5K_TRACER \
1564 IWLWIFI_DEVICE_TRACING
1565 endif
1566
1567 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1568
1569 config-$(call config_package,airo) += AIRO
1570
1571 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON ATH_REG_DYNAMIC_USER_REG_HINTS
1572 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH9K_STATION_STATISTICS
1573 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
1574
1575 config-$(call config_package,ath9k) += ATH9K
1576 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1577 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1578 config-$(CONFIG_TARGET_ipq806x) += ATH10K_AHB
1579 config-$(CONFIG_PCI) += ATH9K_PCI
1580 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1581 config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
1582 config-$(CONFIG_ATH9K_TX99) += ATH9K_TX99
1583 config-$(CONFIG_ATH9K_UBNTHSR) += ATH9K_UBNTHSR
1584
1585 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1586 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1587
1588 config-$(call config_package,ath5k) += ATH5K
1589 ifdef CONFIG_TARGET_ath25
1590 config-y += ATH5K_AHB
1591 else
1592 config-y += ATH5K_PCI
1593 endif
1594
1595 config-$(call config_package,ath6kl) += ATH6KL
1596 config-$(call config_package,ath6kl-sdio) += ATH6KL_SDIO
1597 config-$(call config_package,ath6kl-usb) += ATH6KL_USB
1598
1599 config-$(call config_package,carl9170) += CARL9170
1600
1601 config-$(call config_package,b43) += B43
1602 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
1603 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
1604 config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
1605 config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
1606 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1607 config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
1608 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1609 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1610 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1611
1612 config-$(call config_package,b43legacy) += B43LEGACY
1613 config-y += B43LEGACY_DMA_MODE
1614
1615 config-$(call config_package,brcmutil) += BRCMUTIL
1616 config-$(call config_package,brcmsmac) += BRCMSMAC
1617 config-$(call config_package,brcmfmac) += BRCMFMAC
1618 config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
1619 config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
1620 config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
1621 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1622
1623 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1624 config-$(call config_package,mt7601u) += MT7601U
1625 config-y += WL_MEDIATEK
1626
1627 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1628 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1629 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1630 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1631 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1632 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1633
1634 config-$(call config_package,rt2400-pci) += RT2400PCI
1635 config-$(call config_package,rt2500-pci) += RT2500PCI
1636 config-$(call config_package,rt2500-usb) += RT2500USB
1637 config-$(call config_package,rt61-pci) += RT61PCI
1638 config-$(call config_package,rt73-usb) += RT73USB
1639
1640 config-$(call config_package,rt2800-lib) += RT2800_LIB
1641
1642 config-$(call config_package,rt2800-soc) += RT2800SOC
1643 config-$(call config_package,rt2800-pci) += RT2800PCI
1644 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1645
1646 config-$(call config_package,rt2800-usb) += RT2800USB
1647 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX RT2800USB_UNKNOWN
1648
1649 config-$(call config_package,iwl-legacy) += IWLEGACY
1650 config-$(call config_package,iwl3945) += IWL3945
1651 config-$(call config_package,iwl4965) += IWL4965
1652 config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
1653 config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
1654 config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
1655
1656 config-$(call config_package,libipw) += LIBIPW
1657 config-$(call config_package,ipw2100) += IPW2100
1658 config-$(call config_package,ipw2200) += IPW2200
1659
1660 config-$(call config_package,p54-common) += P54_COMMON
1661 config-$(call config_package,p54-pci) += P54_PCI
1662 config-$(call config_package,p54-usb) += P54_USB
1663 config-$(call config_package,p54-spi) += P54_SPI
1664
1665 config-$(call config_package,hermes) += HERMES
1666 config-$(call config_package,hermes-pci) += PCI_HERMES
1667 config-$(call config_package,hermes-plx) += PLX_HERMES
1668 config-$(call config_package,hermes-pcmcia) += PCMCIA_HERMES
1669 config-y += HERMES_PRISM
1670
1671 config-$(call config_package,adm8211) += ADM8211
1672 config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
1673 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1674 config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI
1675 config-$(call config_package,mwl8k) += MWL8K
1676 config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
1677 config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO
1678 config-$(call config_package,rtl8180) += RTL8180
1679 config-$(call config_package,rtl8187) += RTL8187
1680 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1681 config-$(call config_package,wl12xx) += WL12XX
1682 config-$(call config_package,wl18xx) += WL18XX
1683 config-y += WL_TI WILINK_PLATFORM_DATA
1684 config-$(call config_package,zd1211rw) += ZD1211RW
1685
1686 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1687 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1688 config-$(call config_package,rtlwifi-btcoexist) += RTLBTCOEXIST
1689 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1690 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1691 config-$(call config_package,rtl8192ce) += RTL8192CE
1692 config-$(call config_package,rtl8192se) += RTL8192SE
1693 config-$(call config_package,rtl8192de) += RTL8192DE
1694 config-$(call config_package,rtl8192cu) += RTL8192CU
1695 config-$(call config_package,rtl8821ae) += RTL8821AE
1696 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1697
1698 config-$(call config_package,rtl8xxxu) += RTL8XXXU
1699 config-y += RTL8XXXU_UNTESTED
1700
1701 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1702
1703 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1704 $(KERNEL_MAKE_FLAGS) \
1705 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS)" \
1706 KLIB_BUILD="$(LINUX_DIR)" \
1707 MODPROBE=true \
1708 KLIB=$(TARGET_MODULES_DIR) \
1709 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1710 KBUILD_LDFLAGS_MODULE_PREREQ=
1711
1712 define ConfigVars
1713 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1714 ))
1715 endef
1716
1717 define mac80211_config
1718 $(call ConfigVars,m)$(call ConfigVars,y)
1719 endef
1720 $(eval $(call shexport,mac80211_config))
1721
1722 define Build/Prepare
1723 rm -rf $(PKG_BUILD_DIR)
1724 mkdir -p $(PKG_BUILD_DIR)
1725 $(PKG_UNPACK)
1726 $(Build/Patch)
1727 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1728 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1729 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1730 rm -rf \
1731 $(PKG_BUILD_DIR)/include/linux/ssb \
1732 $(PKG_BUILD_DIR)/include/linux/bcma \
1733 $(PKG_BUILD_DIR)/include/net/bluetooth
1734
1735 rm -f \
1736 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1737 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1738 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1739 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1740 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1741 $(PKG_BUILD_DIR)/include/net/ieee80211.h \
1742 $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h
1743
1744 echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
1745 endef
1746
1747 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1748 define Build/Compile/kmod
1749 rm -rf $(PKG_BUILD_DIR)/modules
1750 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1751 endef
1752 endif
1753
1754 define Build/Configure
1755 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1756 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1757 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1758 endef
1759
1760 define Build/Compile
1761 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1762 $(MAKE) $(MAKE_OPTS) allnoconfig
1763 $(call Build/Compile/kmod)
1764 endef
1765
1766 define Build/InstallDev
1767 mkdir -p \
1768 $(1)/usr/include/mac80211 \
1769 $(1)/usr/include/mac80211-backport \
1770 $(1)/usr/include/mac80211/ath \
1771 $(1)/usr/include/net/mac80211
1772 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1773 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1774 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1775 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1776 rm -f $(1)/usr/include/mac80211-backport/linux/module.h
1777 endef
1778
1779
1780 define KernelPackage/b43/install
1781 rm -rf $(1)/lib/firmware/
1782 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1783 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1784 else
1785 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1786 endif
1787 $(INSTALL_DIR) $(1)/lib/firmware/
1788 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1789 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1790 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
1791 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
1792 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
1793 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
1794 else
1795 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1796 endif
1797 ifneq ($(CONFIG_B43_FW_SQUASH),)
1798 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1799 endif
1800 endef
1801
1802 define KernelPackage/brcmsmac/install
1803 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1804 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
1805 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
1806 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
1807 endif
1808 endef
1809
1810 define KernelPackage/cfg80211/install
1811 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1812 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1813 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1814 $(INSTALL_DIR) $(1)/etc/hotplug.d/ieee80211
1815 $(INSTALL_DATA) ./files/mac80211.hotplug $(1)/etc/hotplug.d/ieee80211/00-wifi-detect
1816 endef
1817
1818 define KernelPackage/ipw2100/install
1819 $(INSTALL_DIR) $(1)/lib/firmware
1820 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1821 endef
1822
1823 define KernelPackage/ipw2200/install
1824 $(INSTALL_DIR) $(1)/lib/firmware
1825 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1826 endef
1827
1828 define KernelPackage/zd1211rw/install
1829 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1830 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1831 endef
1832
1833
1834 $(eval $(call KernelPackage,adm8211))
1835 $(eval $(call KernelPackage,airo))
1836 $(eval $(call KernelPackage,ath))
1837 $(eval $(call KernelPackage,ath10k))
1838 $(eval $(call KernelPackage,ath5k))
1839 $(eval $(call KernelPackage,ath6kl))
1840 $(eval $(call KernelPackage,ath6kl-sdio))
1841 $(eval $(call KernelPackage,ath6kl-usb))
1842 $(eval $(call KernelPackage,ath9k))
1843 $(eval $(call KernelPackage,ath9k-common))
1844 $(eval $(call KernelPackage,ath9k-htc))
1845 $(eval $(call KernelPackage,b43))
1846 $(eval $(call KernelPackage,b43legacy))
1847 $(eval $(call KernelPackage,brcmsmac))
1848 $(eval $(call KernelPackage,brcmfmac))
1849 $(eval $(call KernelPackage,brcmutil))
1850 $(eval $(call KernelPackage,carl9170))
1851 $(eval $(call KernelPackage,cfg80211))
1852 $(eval $(call KernelPackage,hermes))
1853 $(eval $(call KernelPackage,hermes-pci))
1854 $(eval $(call KernelPackage,hermes-plx))
1855 $(eval $(call KernelPackage,hermes-pcmcia))
1856 $(eval $(call KernelPackage,iwlwifi))
1857 $(eval $(call KernelPackage,iwl-legacy))
1858 $(eval $(call KernelPackage,iwl4965))
1859 $(eval $(call KernelPackage,iwl3945))
1860 $(eval $(call KernelPackage,lib80211))
1861 $(eval $(call KernelPackage,libertas-usb))
1862 $(eval $(call KernelPackage,libertas-sdio))
1863 $(eval $(call KernelPackage,libertas-spi))
1864 $(eval $(call KernelPackage,libipw))
1865 $(eval $(call KernelPackage,ipw2100))
1866 $(eval $(call KernelPackage,ipw2200))
1867 $(eval $(call KernelPackage,mac80211))
1868 $(eval $(call KernelPackage,mac80211-hwsim))
1869 $(eval $(call KernelPackage,mt7601u))
1870 $(eval $(call KernelPackage,mwl8k))
1871 $(eval $(call KernelPackage,mwifiex-pcie))
1872 $(eval $(call KernelPackage,mwifiex-sdio))
1873 $(eval $(call KernelPackage,p54-common))
1874 $(eval $(call KernelPackage,p54-pci))
1875 $(eval $(call KernelPackage,p54-usb))
1876 $(eval $(call KernelPackage,p54-spi))
1877 $(eval $(call KernelPackage,rt2x00-lib))
1878 $(eval $(call KernelPackage,rt2x00-mmio))
1879 $(eval $(call KernelPackage,rt2x00-pci))
1880 $(eval $(call KernelPackage,rt2x00-usb))
1881 $(eval $(call KernelPackage,rt2800-lib))
1882 $(eval $(call KernelPackage,rt2400-pci))
1883 $(eval $(call KernelPackage,rt2500-pci))
1884 $(eval $(call KernelPackage,rt2500-usb))
1885 $(eval $(call KernelPackage,rt2800-mmio))
1886 $(eval $(call KernelPackage,rt2800-soc))
1887 $(eval $(call KernelPackage,rt2800-pci))
1888 $(eval $(call KernelPackage,rt2800-usb))
1889 $(eval $(call KernelPackage,rt61-pci))
1890 $(eval $(call KernelPackage,rt73-usb))
1891 $(eval $(call KernelPackage,rtl8180))
1892 $(eval $(call KernelPackage,rtl8187))
1893 $(eval $(call KernelPackage,rtlwifi))
1894 $(eval $(call KernelPackage,rtlwifi-pci))
1895 $(eval $(call KernelPackage,rtlwifi-btcoexist))
1896 $(eval $(call KernelPackage,rtlwifi-usb))
1897 $(eval $(call KernelPackage,rtl8192c-common))
1898 $(eval $(call KernelPackage,rtl8192ce))
1899 $(eval $(call KernelPackage,rtl8192se))
1900 $(eval $(call KernelPackage,rtl8192de))
1901 $(eval $(call KernelPackage,rtl8192cu))
1902 $(eval $(call KernelPackage,rtl8821ae))
1903 $(eval $(call KernelPackage,rtl8xxxu))
1904 $(eval $(call KernelPackage,wlcore))
1905 $(eval $(call KernelPackage,wl12xx))
1906 $(eval $(call KernelPackage,wl18xx))
1907 $(eval $(call KernelPackage,zd1211rw))