6ce9930ad2fee0b45dae47d69e21e6d2b20686a9
[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 n
746 help
747 Enable support for cards attached to an SDIO bus.
748 Select this option only if you are sure that your
749 board has a Broadcom wireless chip atacched to
750 that bus.
751
752 config BRCMFMAC_USB
753 bool "Enable USB bus interface support"
754 depends on USB_SUPPORT
755 default y
756 help
757 Supported USB connected chipsets:
758 BCM43235, BCM43236, BCM43238 (all in revision 3 only)
759 BCM43143, BCM43242, BCM43566, BCM43569
760
761 config BRCMFMAC_PCIE
762 bool "Enable PCIE bus interface support"
763 depends on PCI_SUPPORT
764 default y
765 help
766 Supported PCIe connected chipsets:
767 BCM4354, BCM4356, BCM43567, BCM43570, BCM43602
768
769 endif
770 endef
771
772
773 define KernelPackage/carl9170
774 $(call KernelPackage/mac80211/Default)
775 TITLE:=Driver for Atheros AR9170 USB sticks
776 DEPENDS:=@USB_SUPPORT +kmod-mac80211 +kmod-ath +kmod-usb-core +kmod-input-core +@DRIVER_11N_SUPPORT +carl9170-firmware
777 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath/carl9170/carl9170.ko
778 AUTOLOAD:=$(call AutoProbe,carl9170)
779 endef
780
781
782 define KernelPackage/hermes
783 $(call KernelPackage/mac80211/Default)
784 TITLE:=Hermes 802.11b chipset support
785 DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT +kmod-crypto-michael-mic
786 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco.ko
787 AUTOLOAD:=$(call AutoProbe,orinoco)
788 endef
789
790 define KernelPackage/hermes/description
791 Kernel support for Hermes 802.11b chipsets
792 endef
793
794 define KernelPackage/hermes-pci
795 $(call KernelPackage/mac80211/Default)
796 TITLE:=Intersil Prism 2.5 PCI support
797 DEPENDS:=@PCI_SUPPORT +kmod-hermes
798 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_pci.ko
799 AUTOLOAD:=$(call AutoProbe,orinoco_pci)
800 endef
801
802 define KernelPackage/hermes-pci/description
803 Kernel modules for Intersil Prism 2.5 PCI support
804 endef
805
806 define KernelPackage/hermes-plx
807 $(call KernelPackage/mac80211/Default)
808 TITLE:=PLX9052 based PCI adaptor
809 DEPENDS:=@PCI_SUPPORT +kmod-hermes
810 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_plx.ko
811 AUTOLOAD:=$(call AutoProbe,orinoco_plx)
812 endef
813
814 define KernelPackage/hermes-plx/description
815 Kernel modules for Hermes in PLX9052 based PCI adaptors
816 endef
817
818 define KernelPackage/hermes-pcmcia
819 $(call KernelPackage/mac80211/Default)
820 TITLE:=Hermes based PCMCIA adaptors
821 DEPENDS:=@PCMCIA_SUPPORT +kmod-hermes @BROKEN
822 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/orinoco/orinoco_cs.ko
823 AUTOLOAD:=$(call AutoProbe,orinoco_cs)
824 endef
825
826 define KernelPackage/hermes-pcmcia/description
827 Kernel modules for Hermes based PCMCIA adaptors
828 endef
829
830
831 define KernelPackage/iwlwifi
832 $(call KernelPackage/mac80211/Default)
833 DEPENDS:= +kmod-mac80211 @PCI_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT @!LINUX_3_18
834 TITLE:=Intel AGN Wireless support
835 FILES:= \
836 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko \
837 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/dvm/iwldvm.ko \
838 $(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
839 AUTOLOAD:=$(call AutoProbe,iwlwifi iwldvm iwlmvm)
840 MENU:=1
841 endef
842
843 define KernelPackage/iwlwifi/description
844 iwlwifi kernel module for
845 Intel Wireless WiFi Link 6250AGN Adapter
846 Intel 6000 Series Wi-Fi Adapters (6200AGN and 6300AGN)
847 Intel WiFi Link 1000BGN
848 Intel Wireless WiFi 5150AGN
849 Intel Wireless WiFi 5100AGN, 5300AGN, and 5350AGN
850 Intel 6005 Series Wi-Fi Adapters
851 Intel 6030 Series Wi-Fi Adapters
852 Intel Wireless WiFi Link 6150BGN 2 Adapter
853 Intel 100 Series Wi-Fi Adapters (100BGN and 130BGN)
854 Intel 2000 Series Wi-Fi Adapters
855 Intel 7260 Wi-Fi Adapter
856 Intel 3160 Wi-Fi Adapter
857 Intel 7265 Wi-Fi Adapter
858 Intel 8260 Wi-Fi Adapter
859 Intel 3165 Wi-Fi Adapter
860 endef
861
862 define KernelPackage/iwlwifi/config
863 if PACKAGE_kmod-iwlwifi
864
865 config PACKAGE_IWLWIFI_DEBUG
866 bool "Enable full debugging output in the iwlwifi driver"
867 default n
868 help
869 This option will enable debug tracing output for the iwlwifi drivers
870
871 This will result in the kernel module being ~100k larger. You can
872 control which debug output is sent to the kernel log by setting the
873 value in
874
875 /sys/module/iwlwifi/parameters/debug
876
877 This entry will only exist if this option is enabled.
878
879 To set a value, simply echo an 8-byte hex value to the same file:
880
881 % echo 0x43fff > /sys/module/iwlwifi/parameters/debug
882
883 You can find the list of debug mask values in:
884 drivers/net/wireless/intel/iwlwifi/iwl-debug.h
885
886 If this is your first time using this driver, you should say Y here
887 as the debug information can assist others in helping you resolve
888 any problems you may encounter.
889
890 config PACKAGE_IWLWIFI_DEBUGFS
891 bool "iwlwifi debugfs support"
892 depends on PACKAGE_MAC80211_DEBUGFS
893 default n
894 help
895 Enable creation of debugfs files for the iwlwifi drivers. This
896 is a low-impact option that allows getting insight into the
897 driver's state at runtime.
898
899 endif
900 endef
901
902 define KernelPackage/iwl-legacy
903 $(call KernelPackage/mac80211/Default)
904 DEPENDS:= +kmod-mac80211 @PCI_SUPPORT
905 TITLE:=Intel legacy Wireless support
906 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwlegacy.ko
907 AUTOLOAD:=$(call AutoProbe,iwlegacy)
908 endef
909
910 define KernelPackage/iwl-legacy/description
911 iwl-legacy kernel module for legacy Intel wireless support
912 endef
913
914 define KernelPackage/iwl3945
915 $(call KernelPackage/mac80211/Default)
916 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +iwl3945-firmware
917 TITLE:=Intel iwl3945 Wireless support
918 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl3945.ko
919 AUTOLOAD:=$(call AutoProbe,iwl3945)
920 endef
921
922 define KernelPackage/iwl3945/description
923 iwl3945 kernel module for Intel 3945 support
924 endef
925
926 define KernelPackage/iwl4965
927 $(call KernelPackage/mac80211/Default)
928 DEPENDS:= +kmod-mac80211 +kmod-iwl-legacy +@DRIVER_11N_SUPPORT +iwl4965-firmware
929 TITLE:=Intel iwl4965 Wireless support
930 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/iwlegacy/iwl4965.ko
931 AUTOLOAD:=$(call AutoProbe,iwl4965)
932 endef
933
934 define KernelPackage/iwl4965/description
935 iwl4965 kernel module for Intel 4965 support
936 endef
937
938
939 define KernelPackage/lib80211
940 $(call KernelPackage/mac80211/Default)
941 TITLE:=802.11 Networking stack
942 DEPENDS:=+kmod-cfg80211 +kmod-crypto-hash
943 FILES:= \
944 $(PKG_BUILD_DIR)/net/wireless/lib80211.ko \
945 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_wep.ko \
946 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_ccmp.ko \
947 $(PKG_BUILD_DIR)/net/wireless/lib80211_crypt_tkip.ko
948 AUTOLOAD:=$(call AutoProbe, \
949 lib80211 \
950 lib80211_crypt_wep \
951 lib80211_crypt_ccmp \
952 lib80211_crypt_tkip \
953 )
954 endef
955
956 define KernelPackage/lib80211/description
957 Kernel modules for 802.11 Networking stack
958 Includes:
959 - lib80211
960 - lib80211_crypt_wep
961 - lib80211_crypt_tkip
962 - lib80211_crytp_ccmp
963 endef
964
965
966 define KernelPackage/libipw
967 $(call KernelPackage/mac80211/Default)
968 TITLE:=libipw for ipw2100 and ipw2200
969 DEPENDS:=@PCI_SUPPORT +kmod-crypto-michael-mic +kmod-crypto-ecb +kmod-lib80211 +kmod-cfg80211 +@DRIVER_WEXT_SUPPORT @!BIG_ENDIAN @!LINUX_3_18
970 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/libipw.ko
971 AUTOLOAD:=$(call AutoProbe,libipw)
972 endef
973
974 define KernelPackage/libipw/description
975 Hardware independent IEEE 802.11 networking stack for ipw2100 and ipw2200.
976 endef
977
978 IPW2100_NAME:=ipw2100-fw
979 IPW2100_VERSION:=1.3
980
981 define Download/ipw2100
982 URL:=http://bughost.org/firmware/
983 FILE:=$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
984 HASH:=e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2
985 endef
986 $(eval $(call Download,ipw2100))
987
988 define KernelPackage/ipw2100
989 $(call KernelPackage/mac80211/Default)
990 TITLE:=Intel IPW2100 driver
991 DEPENDS:=@PCI_SUPPORT +kmod-libipw
992 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2100.ko
993 AUTOLOAD:=$(call AutoProbe,ipw2100)
994 endef
995
996 define KernelPackage/ipw2100/description
997 Kernel support for Intel IPW2100
998 Includes:
999 - ipw2100
1000 endef
1001
1002 IPW2200_NAME:=ipw2200-fw
1003 IPW2200_VERSION:=3.1
1004
1005 define Download/ipw2200
1006 URL:=http://bughost.org/firmware/
1007 FILE:=$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1008 HASH:=c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd
1009 endef
1010 $(eval $(call Download,ipw2200))
1011
1012 define KernelPackage/ipw2200
1013 $(call KernelPackage/mac80211/Default)
1014 TITLE:=Intel IPW2200 driver
1015 DEPENDS:=@PCI_SUPPORT +kmod-libipw
1016 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intel/ipw2x00/ipw2200.ko
1017 AUTOLOAD:=$(call AutoProbe,ipw2200)
1018 endef
1019
1020 define KernelPackage/ipw2200/description
1021 Kernel support for Intel IPW2200
1022 Includes:
1023 - ipw2200
1024 endef
1025
1026
1027 define KernelPackage/libertas-usb
1028 $(call KernelPackage/mac80211/Default)
1029 DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware @!LINUX_3_18
1030 TITLE:=Marvell 88W8015 Wireless Driver
1031 FILES:= \
1032 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1033 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko
1034 AUTOLOAD:=$(call AutoProbe,libertas usb8xxx)
1035 endef
1036
1037 define KernelPackage/libertas-sdio
1038 $(call KernelPackage/mac80211/Default)
1039 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware @!LINUX_3_18
1040 TITLE:=Marvell 88W8686 Wireless Driver
1041 FILES:= \
1042 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1043 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
1044 AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
1045 endef
1046
1047 define KernelPackage/libertas-spi
1048 $(call KernelPackage/mac80211/Default)
1049 SUBMENU:=Wireless Drivers
1050 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware @!LINUX_3_18
1051 KCONFIG := \
1052 CONFIG_SPI=y \
1053 CONFIG_SPI_MASTER=y
1054 TITLE:=Marvell 88W8686 SPI Wireless Driver
1055 FILES:= \
1056 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
1057 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
1058 AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
1059 endef
1060
1061 define KernelPackage/mac80211-hwsim
1062 $(call KernelPackage/mac80211/Default)
1063 TITLE:=mac80211 HW simulation device
1064 DEPENDS+= +kmod-mac80211 +@DRIVER_11AC_SUPPORT +@DRIVER_11N_SUPPORT +@DRIVER_11W_SUPPORT
1065 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.ko
1066 AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
1067 endef
1068
1069
1070 define KernelPackage/mt7601u
1071 $(call KernelPackage/mac80211/Default)
1072 TITLE:=MT7601U-based USB dongles Wireless Driver
1073 DEPENDS+= +kmod-mac80211 +@DRIVER_11N_SUPPORT @USB_SUPPORT +kmod-usb-core +mt7601u-firmware
1074 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mediatek/mt7601u/mt7601u.ko
1075 AUTOLOAD:=$(call AutoProbe,mt7601u)
1076 endef
1077
1078
1079 define KernelPackage/mwl8k
1080 $(call KernelPackage/mac80211/Default)
1081 TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
1082 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwl8k
1083 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
1084 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
1085 AUTOLOAD:=$(call AutoProbe,mwl8k)
1086 endef
1087
1088 define KernelPackage/mwl8k/description
1089 Kernel modules for Marvell TOPDOG 802.11 Wireless cards
1090 endef
1091
1092
1093 define KernelPackage/mwifiex-pcie
1094 $(call KernelPackage/mac80211/Default)
1095 TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
1096 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
1097 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-pcie-firmware
1098 FILES:= \
1099 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
1100 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
1101 AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
1102 endef
1103
1104 define KernelPackage/mwifiex-pcie/description
1105 Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
1106 endef
1107
1108 define KernelPackage/mwifiex-sdio
1109 $(call KernelPackage/mac80211/Default)
1110 TITLE:=Driver for Marvell 802.11n/802.11ac SDIO Wireless cards
1111 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
1112 DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-sdio-firmware
1113 FILES:= \
1114 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
1115 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
1116 AUTOLOAD:=$(call AutoProbe,mwifiex_sdio)
1117 endef
1118
1119 define KernelPackage/mwifiex-sdio/description
1120 Kernel modules for Marvell 802.11n/802.11ac SDIO Wireless cards
1121 endef
1122
1123 define KernelPackage/p54/Default
1124 $(call KernelPackage/mac80211/Default)
1125 TITLE:=Prism54 Drivers
1126 endef
1127
1128 define KernelPackage/p54/description
1129 Kernel module for Prism54 chipsets (mac80211)
1130 endef
1131
1132 define KernelPackage/p54-common
1133 $(call KernelPackage/p54/Default)
1134 DEPENDS+= @PCI_SUPPORT||@USB_SUPPORT||@TARGET_omap24xx +kmod-mac80211 +kmod-lib-crc-ccitt
1135 TITLE+= (COMMON)
1136 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54common.ko
1137 endef
1138
1139 define KernelPackage/p54-pci
1140 $(call KernelPackage/p54/Default)
1141 TITLE+= (PCI)
1142 DEPENDS+= @PCI_SUPPORT +kmod-p54-common +p54-pci-firmware
1143 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54pci.ko
1144 AUTOLOAD:=$(call AutoProbe,p54pci)
1145 endef
1146
1147 define KernelPackage/p54-usb
1148 $(call KernelPackage/p54/Default)
1149 TITLE+= (USB)
1150 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-p54-common +p54-usb-firmware
1151 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54usb.ko
1152 AUTOLOAD:=$(call AutoProbe,p54usb)
1153 endef
1154
1155 define KernelPackage/p54-spi
1156 $(call KernelPackage/p54/Default)
1157 TITLE+= (SPI)
1158 DEPENDS+= @TARGET_omap24xx +kmod-p54-common +p54-spi-firmware
1159 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/intersil/p54/p54spi.ko
1160 AUTOLOAD:=$(call AutoProbe,p54spi)
1161 endef
1162
1163 define KernelPackage/rt2x00/Default
1164 $(call KernelPackage/mac80211/Default)
1165 TITLE:=Ralink Drivers for RT2x00 cards
1166 endef
1167
1168 define KernelPackage/rt2x00-lib
1169 $(call KernelPackage/rt2x00/Default)
1170 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 +kmod-lib-crc-itu-t
1171 TITLE+= (LIB)
1172 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko
1173 MENU:=1
1174 endef
1175
1176 define KernelPackage/rt2x00-lib/config
1177 if PACKAGE_kmod-rt2x00-lib
1178
1179 config PACKAGE_RT2X00_LIB_DEBUGFS
1180 bool "Enable rt2x00 debugfs support"
1181 depends on PACKAGE_MAC80211_DEBUGFS
1182 help
1183 Enable creation of debugfs files for the rt2x00 drivers.
1184 These debugfs files support both reading and writing of the
1185 most important register types of the rt2x00 hardware.
1186
1187 config PACKAGE_RT2X00_DEBUG
1188 bool "Enable rt2x00 debug output"
1189 help
1190 Enable debugging output for all rt2x00 modules
1191
1192 endif
1193 endef
1194
1195 define KernelPackage/rt2x00-mmio
1196 $(call KernelPackage/rt2x00/Default)
1197 DEPENDS+= @(PCI_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-eeprom-93cx6
1198 HIDDEN:=1
1199 TITLE+= (MMIO)
1200 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko
1201 endef
1202
1203 define KernelPackage/rt2x00-pci
1204 $(call KernelPackage/rt2x00/Default)
1205 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-mmio +kmod-rt2x00-lib
1206 HIDDEN:=1
1207 TITLE+= (PCI)
1208 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko
1209 AUTOLOAD:=$(call AutoProbe,rt2x00pci)
1210 endef
1211
1212 define KernelPackage/rt2x00-usb
1213 $(call KernelPackage/rt2x00/Default)
1214 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-lib +kmod-usb-core
1215 HIDDEN:=1
1216 TITLE+= (USB)
1217 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00usb.ko
1218 AUTOLOAD:=$(call AutoProbe,rt2x00usb)
1219 endef
1220
1221 define KernelPackage/rt2800-lib
1222 $(call KernelPackage/rt2x00/Default)
1223 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-rt2x00-lib +kmod-lib-crc-ccitt +@DRIVER_11N_SUPPORT
1224 HIDDEN:=1
1225 TITLE+= (rt2800 LIB)
1226 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko
1227 endef
1228
1229 define KernelPackage/rt2400-pci
1230 $(call KernelPackage/rt2x00/Default)
1231 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
1232 TITLE+= (RT2400 PCI)
1233 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2400pci.ko
1234 AUTOLOAD:=$(call AutoProbe,rt2400pci)
1235 endef
1236
1237 define KernelPackage/rt2500-pci
1238 $(call KernelPackage/rt2x00/Default)
1239 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci
1240 TITLE+= (RT2500 PCI)
1241 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500pci.ko
1242 AUTOLOAD:=$(call AutoProbe,rt2500pci)
1243 endef
1244
1245 define KernelPackage/rt2500-usb
1246 $(call KernelPackage/rt2x00/Default)
1247 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb
1248 TITLE+= (RT2500 USB)
1249 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2500usb.ko
1250 AUTOLOAD:=$(call AutoProbe,rt2500usb)
1251 endef
1252
1253 define KernelPackage/rt2800-mmio
1254 $(call KernelPackage/rt2x00/Default)
1255 TITLE += (RT28xx/RT3xxx MMIO)
1256 DEPENDS += +kmod-rt2800-lib +kmod-rt2x00-mmio
1257 HIDDEN:=1
1258 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko
1259 endef
1260
1261 define KernelPackage/rt2800-soc
1262 $(call KernelPackage/rt2x00/Default)
1263 DEPENDS += @(TARGET_ramips_rt288x||TARGET_ramips_rt305x||TARGET_ramips_rt3883||TARGET_ramips_mt7620) +kmod-rt2800-mmio +kmod-rt2800-lib
1264 TITLE += (RT28xx/RT3xxx SoC)
1265 FILES := \
1266 $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00soc.ko \
1267 $(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800soc.ko
1268 AUTOLOAD:=$(call AutoProbe,rt2800soc)
1269 endef
1270
1271 define KernelPackage/rt2800-pci
1272 $(call KernelPackage/rt2x00/Default)
1273 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +kmod-rt2800-lib +kmod-rt2800-mmio +rt2800-pci-firmware
1274 TITLE+= (RT2860 PCI)
1275 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko
1276 AUTOLOAD:=$(call AutoProbe,rt2800pci)
1277 endef
1278
1279 define KernelPackage/rt2800-usb
1280 $(call KernelPackage/rt2x00/Default)
1281 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +kmod-rt2800-lib +kmod-lib-crc-ccitt +rt2800-usb-firmware
1282 TITLE+= (RT2870 USB)
1283 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2800usb.ko
1284 AUTOLOAD:=$(call AutoProbe,rt2800usb)
1285 endef
1286
1287
1288 define KernelPackage/rt61-pci
1289 $(call KernelPackage/rt2x00/Default)
1290 DEPENDS+= @PCI_SUPPORT +kmod-rt2x00-pci +rt61-pci-firmware
1291 TITLE+= (RT2x61 PCI)
1292 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt61pci.ko
1293 AUTOLOAD:=$(call AutoProbe,rt61pci)
1294 endef
1295
1296 define KernelPackage/rt73-usb
1297 $(call KernelPackage/rt2x00/Default)
1298 DEPENDS+= @USB_SUPPORT +kmod-rt2x00-usb +rt73-usb-firmware
1299 TITLE+= (RT73 USB)
1300 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt73usb.ko
1301 AUTOLOAD:=$(call AutoProbe,rt73usb)
1302 endef
1303
1304
1305 define KernelPackage/rtl818x/Default
1306 $(call KernelPackage/mac80211/Default)
1307 TITLE:=Realtek Drivers for RTL818x devices
1308 URL:=https://wireless.wiki.kernel.org/en/users/drivers/rtl8187
1309 DEPENDS+= +kmod-eeprom-93cx6 +kmod-mac80211
1310 endef
1311
1312 define KernelPackage/rtl8180
1313 $(call KernelPackage/rtl818x/Default)
1314 DEPENDS+= @PCI_SUPPORT
1315 TITLE+= (RTL8180 PCI)
1316 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8180/rtl818x_pci.ko
1317 AUTOLOAD:=$(call AutoProbe,rtl818x_pci)
1318 endef
1319
1320 define KernelPackage/rtl8187
1321 $(call KernelPackage/rtl818x/Default)
1322 DEPENDS+= @USB_SUPPORT +kmod-usb-core
1323 TITLE+= (RTL8187 USB)
1324 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl818x/rtl8187/rtl8187.ko
1325 AUTOLOAD:=$(call AutoProbe,rtl8187)
1326 endef
1327
1328 define KernelPackage/rtlwifi/config
1329 config PACKAGE_RTLWIFI_DEBUG
1330 bool "Realtek wireless debugging"
1331 depends on PACKAGE_kmod-rtlwifi
1332 help
1333 Say Y, if you want to debug realtek wireless drivers.
1334
1335 endef
1336
1337 define KernelPackage/rtlwifi
1338 $(call KernelPackage/mac80211/Default)
1339 TITLE:=Realtek common driver part
1340 DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT) +kmod-mac80211 +@DRIVER_11N_SUPPORT
1341 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
1342 HIDDEN:=1
1343 endef
1344
1345 define KernelPackage/rtlwifi-pci
1346 $(call KernelPackage/mac80211/Default)
1347 TITLE:=Realtek common driver part (PCI support)
1348 DEPENDS+= @PCI_SUPPORT +kmod-rtlwifi
1349 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_pci.ko
1350 AUTOLOAD:=$(call AutoProbe,rtl_pci)
1351 HIDDEN:=1
1352 endef
1353
1354 define KernelPackage/rtlwifi-btcoexist
1355 $(call KernelPackage/mac80211/Default)
1356 TITLE:=Realtek BT coexist support
1357 DEPENDS+= +kmod-rtlwifi
1358 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/btcoexist/btcoexist.ko
1359 AUTOLOAD:=$(call AutoProbe,btcoexist)
1360 HIDDEN:=1
1361 endef
1362
1363 define KernelPackage/rtlwifi-usb
1364 $(call KernelPackage/mac80211/Default)
1365 TITLE:=Realtek common driver part (USB support)
1366 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-rtlwifi
1367 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl_usb.ko
1368 AUTOLOAD:=$(call AutoProbe,rtl_usb)
1369 HIDDEN:=1
1370 endef
1371
1372 define KernelPackage/rtl8192c-common
1373 $(call KernelPackage/mac80211/Default)
1374 TITLE:=Realtek RTL8192CE/RTL8192CU common support module
1375 DEPENDS+= +kmod-rtlwifi
1376 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192c/rtl8192c-common.ko
1377 HIDDEN:=1
1378 endef
1379
1380 define KernelPackage/rtl8192ce
1381 $(call KernelPackage/mac80211/Default)
1382 TITLE:=Realtek RTL8192CE/RTL8188CE support
1383 DEPENDS+= +kmod-rtlwifi-pci +kmod-rtl8192c-common +rtl8192ce-firmware
1384 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/rtl8192ce.ko
1385 AUTOLOAD:=$(call AutoProbe,rtl8192ce)
1386 endef
1387
1388 define KernelPackage/rtl8192se
1389 $(call KernelPackage/mac80211/Default)
1390 TITLE:=Realtek RTL8192SE/RTL8191SE support
1391 DEPENDS+= +kmod-rtlwifi-pci +rtl8192se-firmware
1392 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192se/rtl8192se.ko
1393 AUTOLOAD:=$(call AutoProbe,rtl8192se)
1394 endef
1395
1396 define KernelPackage/rtl8192de
1397 $(call KernelPackage/mac80211/Default)
1398 TITLE:=Realtek RTL8192DE/RTL8188DE support
1399 DEPENDS+= +kmod-rtlwifi-pci +rtl8192de-firmware
1400 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192de/rtl8192de.ko
1401 AUTOLOAD:=$(call AutoProbe,rtl8192de)
1402 endef
1403
1404 define KernelPackage/rtl8192cu
1405 $(call KernelPackage/mac80211/Default)
1406 TITLE:=Realtek RTL8192CU/RTL8188CU support
1407 DEPENDS+= +kmod-rtlwifi-usb +kmod-rtl8192c-common +rtl8192cu-firmware
1408 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rtl8192cu.ko
1409 AUTOLOAD:=$(call AutoProbe,rtl8192cu)
1410 endef
1411
1412 define KernelPackage/rtl8821ae
1413 $(call KernelPackage/mac80211/Default)
1414 TITLE:=Realtek RTL8821AE support
1415 DEPENDS+= +kmod-rtlwifi-btcoexist +kmod-rtlwifi-pci +rtl8821ae-firmware
1416 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
1417 AUTOLOAD:=$(call AutoProbe,rtl8821ae)
1418 endef
1419
1420 define KernelPackage/rtl8xxxu
1421 $(call KernelPackage/mac80211/Default)
1422 TITLE:=alternative Realtek RTL8XXXU support
1423 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
1424 FILES:= $(PKG_BUILD_DIR)/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.ko
1425 AUTOLOAD:=$(call AutoProbe,rtl8xxxu)
1426 endef
1427
1428 define KernelPackage/rtl8xxxu/description
1429 This is an alternative driver for various Realtek RTL8XXX
1430 parts written to utilize the Linux mac80211 stack.
1431 The driver is known to work with a number of RTL8723AU,
1432 RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices
1433
1434 This driver is under development and has a limited feature
1435 set. In particular it does not yet support 40MHz channels
1436 and power management. However it should have a smaller
1437 memory footprint than the vendor drivers and benetifs
1438 from the in kernel mac80211 stack.
1439
1440 It can coexist with drivers from drivers/staging/rtl8723au,
1441 drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi,
1442 but you will need to control which module you wish to load.
1443
1444 RTL8XXXU_UNTESTED is enabled
1445 This option enables detection of Realtek 8723/8188/8191/8192 WiFi
1446 USB devices which have not been tested directly by the driver
1447 author or reported to be working by third parties.
1448
1449 Please report your results!
1450 endef
1451
1452
1453 define KernelPackage/wlcore
1454 $(call KernelPackage/mac80211/Default)
1455 TITLE:=TI common driver part
1456 DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT
1457 FILES:= \
1458 $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
1459 $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
1460 AUTOLOAD:=$(call AutoProbe,wlcore wlcore_sdio)
1461 endef
1462
1463 define KernelPackage/wlcore/description
1464 This module contains some common parts needed by TI Wireless drivers.
1465 endef
1466
1467 define KernelPackage/wl12xx
1468 $(call KernelPackage/mac80211/Default)
1469 TITLE:=Driver for TI WL12xx
1470 URL:=https://wireless.wiki.kernel.org/en/users/drivers/wl12xx
1471 DEPENDS+= +kmod-wlcore +wl12xx-firmware
1472 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko
1473 AUTOLOAD:=$(call AutoProbe,wl12xx)
1474 endef
1475
1476 define KernelPackage/wl12xx/description
1477 Kernel modules for TI WL12xx
1478 endef
1479
1480 define KernelPackage/wl18xx
1481 $(call KernelPackage/mac80211/Default)
1482 TITLE:=Driver for TI WL18xx
1483 URL:=https://wireless.wiki.kernel.org/en/users/drivers/wl18xx
1484 DEPENDS+= +kmod-wlcore +wl18xx-firmware
1485 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko
1486 AUTOLOAD:=$(call AutoProbe,wl18xx)
1487 endef
1488
1489 define KernelPackage/wl18xx/description
1490 Kernel modules for TI WL18xx
1491 endef
1492
1493
1494 ZD1211FW_NAME:=zd1211-firmware
1495 ZD1211FW_VERSION:=1.4
1496 define Download/zd1211rw
1497 FILE:=$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1498 URL:=@SF/zd1211/
1499 HASH:=866308f6f59f7075f075d4959dff2ede47735c751251fecd1496df1ba4d338e1
1500 endef
1501 $(eval $(call Download,zd1211rw))
1502
1503 define KernelPackage/zd1211rw
1504 $(call KernelPackage/mac80211/Default)
1505 TITLE:=Zydas ZD1211 support
1506 DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211
1507 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zydas/zd1211rw/zd1211rw.ko
1508 AUTOLOAD:=$(call AutoProbe,zd1211rw)
1509 endef
1510
1511
1512
1513 config_package=$(if $(CONFIG_PACKAGE_kmod-$(1)),m)
1514
1515 config-y:= \
1516 WLAN \
1517 NL80211_TESTMODE \
1518 CFG80211_WEXT \
1519 CFG80211_CERTIFICATION_ONUS \
1520 MAC80211_RC_MINSTREL \
1521 MAC80211_RC_MINSTREL_HT \
1522 MAC80211_RC_MINSTREL_VHT \
1523 MAC80211_RC_DEFAULT_MINSTREL \
1524 WLAN_VENDOR_ADMTEK \
1525 WLAN_VENDOR_ATH \
1526 WLAN_VENDOR_ATMEL \
1527 WLAN_VENDOR_BROADCOM \
1528 WLAN_VENDOR_CISCO \
1529 WLAN_VENDOR_INTEL \
1530 WLAN_VENDOR_INTERSIL \
1531 WLAN_VENDOR_MARVELL \
1532 WLAN_VENDOR_MEDIATEK \
1533 WLAN_VENDOR_RALINK \
1534 WLAN_VENDOR_REALTEK \
1535 WLAN_VENDOR_RSI \
1536 WLAN_VENDOR_ST \
1537 WLAN_VENDOR_TI \
1538 WLAN_VENDOR_ZYDAS \
1539
1540 config-$(call config_package,cfg80211) += CFG80211
1541
1542 config-$(call config_package,mac80211) += MAC80211
1543 config-$(CONFIG_PACKAGE_MAC80211_MESH) += MAC80211_MESH
1544 ifdef CONFIG_PACKAGE_MAC80211_DEBUGFS
1545 config-y += \
1546 CFG80211_DEBUGFS \
1547 MAC80211_DEBUGFS \
1548 ATH9K_DEBUGFS \
1549 ATH9K_HTC_DEBUGFS \
1550 ATH10K_DEBUGFS \
1551 CARL9170_DEBUGFS \
1552 ATH5K_DEBUG \
1553 ATH6KL_DEBUG
1554 endif
1555
1556 ifdef CONFIG_PACKAGE_MAC80211_TRACING
1557 config-y += \
1558 ATH10K_TRACING \
1559 ATH6KL_TRACING \
1560 ATH_TRACEPOINTS \
1561 WIL6210_TRACING \
1562 ATH5K_TRACER \
1563 IWLWIFI_DEVICE_TRACING
1564 endif
1565
1566 config-$(call config_package,lib80211) += LIB80211 LIB80211_CRYPT_WEP LIB80211_CRYPT_CCMP LIB80211_CRYPT_TKIP
1567
1568 config-$(call config_package,airo) += AIRO
1569
1570 config-$(call config_package,ath) += ATH_CARDS ATH_COMMON ATH_REG_DYNAMIC_USER_REG_HINTS
1571 config-$(CONFIG_PACKAGE_ATH_DEBUG) += ATH_DEBUG ATH10K_DEBUG ATH9K_STATION_STATISTICS
1572 config-$(CONFIG_PACKAGE_ATH_DFS) += ATH9K_DFS_CERTIFIED ATH10K_DFS_CERTIFIED
1573
1574 config-$(call config_package,ath9k) += ATH9K
1575 config-$(call config_package,ath9k-common) += ATH9K_COMMON
1576 config-$(CONFIG_TARGET_ar71xx) += ATH9K_AHB
1577 config-$(CONFIG_TARGET_ipq806x) += ATH10K_AHB
1578 config-$(CONFIG_PCI) += ATH9K_PCI
1579 config-$(CONFIG_ATH_USER_REGD) += ATH_USER_REGD
1580 config-$(CONFIG_ATH9K_SUPPORT_PCOEM) += ATH9K_PCOEM
1581 config-$(CONFIG_ATH9K_TX99) += ATH9K_TX99
1582 config-$(CONFIG_ATH9K_UBNTHSR) += ATH9K_UBNTHSR
1583
1584 config-$(call config_package,ath9k-htc) += ATH9K_HTC
1585 config-$(call config_package,ath10k) += ATH10K ATH10K_PCI
1586
1587 config-$(call config_package,ath5k) += ATH5K
1588 ifdef CONFIG_TARGET_ath25
1589 config-y += ATH5K_AHB
1590 else
1591 config-y += ATH5K_PCI
1592 endif
1593
1594 config-$(call config_package,ath6kl) += ATH6KL
1595 config-$(call config_package,ath6kl-sdio) += ATH6KL_SDIO
1596 config-$(call config_package,ath6kl-usb) += ATH6KL_USB
1597
1598 config-$(call config_package,carl9170) += CARL9170
1599
1600 config-$(call config_package,b43) += B43
1601 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA_AND_SSB) += B43_BUSES_BCMA_AND_SSB
1602 config-$(CONFIG_PACKAGE_B43_BUSES_BCMA) += B43_BUSES_BCMA
1603 config-$(CONFIG_PACKAGE_B43_BUSES_SSB) += B43_BUSES_SSB
1604 config-$(CONFIG_PACKAGE_B43_PHY_G) += B43_PHY_G
1605 config-$(CONFIG_PACKAGE_B43_PHY_N) += B43_PHY_N
1606 config-$(CONFIG_PACKAGE_B43_PHY_LP) += B43_PHY_LP
1607 config-$(CONFIG_PACKAGE_B43_PHY_HT) += B43_PHY_HT
1608 config-$(CONFIG_PACKAGE_B43_PIO) += B43_PIO
1609 config-$(CONFIG_PACKAGE_B43_DEBUG) += B43_DEBUG
1610
1611 config-$(call config_package,b43legacy) += B43LEGACY
1612 config-y += B43LEGACY_DMA_MODE
1613
1614 config-$(call config_package,brcmutil) += BRCMUTIL
1615 config-$(call config_package,brcmsmac) += BRCMSMAC
1616 config-$(call config_package,brcmfmac) += BRCMFMAC
1617 config-$(CONFIG_BRCMFMAC_SDIO) += BRCMFMAC_SDIO
1618 config-$(CONFIG_BRCMFMAC_USB) += BRCMFMAC_USB
1619 config-$(CONFIG_BRCMFMAC_PCIE) += BRCMFMAC_PCIE
1620 config-$(CONFIG_PACKAGE_BRCM80211_DEBUG) += BRCMDBG
1621
1622 config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
1623 config-$(call config_package,mt7601u) += MT7601U
1624 config-y += WL_MEDIATEK
1625
1626 config-$(call config_package,rt2x00-lib) += RT2X00 RT2X00_LIB
1627 config-$(call config_package,rt2x00-pci) += RT2X00_LIB_PCI
1628 config-$(call config_package,rt2x00-mmio) += RT2X00_LIB_MMIO
1629 config-$(call config_package,rt2x00-usb) += RT2X00_LIB_USB
1630 config-$(CONFIG_PACKAGE_RT2X00_LIB_DEBUGFS) += RT2X00_LIB_DEBUGFS
1631 config-$(CONFIG_PACKAGE_RT2X00_DEBUG) += RT2X00_DEBUG
1632
1633 config-$(call config_package,rt2400-pci) += RT2400PCI
1634 config-$(call config_package,rt2500-pci) += RT2500PCI
1635 config-$(call config_package,rt2500-usb) += RT2500USB
1636 config-$(call config_package,rt61-pci) += RT61PCI
1637 config-$(call config_package,rt73-usb) += RT73USB
1638
1639 config-$(call config_package,rt2800-lib) += RT2800_LIB
1640
1641 config-$(call config_package,rt2800-soc) += RT2800SOC
1642 config-$(call config_package,rt2800-pci) += RT2800PCI
1643 config-y += RT2800PCI_RT33XX RT2800PCI_RT35XX RT2800PCI_RT53XX RT2800PCI_RT3290
1644
1645 config-$(call config_package,rt2800-usb) += RT2800USB
1646 config-y += RT2800USB_RT33XX RT2800USB_RT35XX RT2800USB_RT3573 RT2800USB_RT53XX RT2800USB_RT55XX RT2800USB_UNKNOWN
1647
1648 config-$(call config_package,iwl-legacy) += IWLEGACY
1649 config-$(call config_package,iwl3945) += IWL3945
1650 config-$(call config_package,iwl4965) += IWL4965
1651 config-$(call config_package,iwlwifi) += IWLWIFI IWLDVM IWLMVM
1652 config-$(CONFIG_PACKAGE_IWLWIFI_DEBUG)+= IWLWIFI_DEBUG
1653 config-$(CONFIG_PACKAGE_IWLWIFI_DEBUGFS)+= IWLWIFI_DEBUGFS
1654
1655 config-$(call config_package,libipw) += LIBIPW
1656 config-$(call config_package,ipw2100) += IPW2100
1657 config-$(call config_package,ipw2200) += IPW2200
1658
1659 config-$(call config_package,p54-common) += P54_COMMON
1660 config-$(call config_package,p54-pci) += P54_PCI
1661 config-$(call config_package,p54-usb) += P54_USB
1662 config-$(call config_package,p54-spi) += P54_SPI
1663
1664 config-$(call config_package,hermes) += HERMES
1665 config-$(call config_package,hermes-pci) += PCI_HERMES
1666 config-$(call config_package,hermes-plx) += PLX_HERMES
1667 config-$(call config_package,hermes-pcmcia) += PCMCIA_HERMES
1668 config-y += HERMES_PRISM
1669
1670 config-$(call config_package,adm8211) += ADM8211
1671 config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
1672 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
1673 config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI
1674 config-$(call config_package,mwl8k) += MWL8K
1675 config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
1676 config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO
1677 config-$(call config_package,rtl8180) += RTL8180
1678 config-$(call config_package,rtl8187) += RTL8187
1679 config-$(call config_package,wlcore) += WLCORE WLCORE_SDIO
1680 config-$(call config_package,wl12xx) += WL12XX
1681 config-$(call config_package,wl18xx) += WL18XX
1682 config-y += WL_TI WILINK_PLATFORM_DATA
1683 config-$(call config_package,zd1211rw) += ZD1211RW
1684
1685 config-$(call config_package,rtlwifi) += RTL_CARDS RTLWIFI
1686 config-$(call config_package,rtlwifi-pci) += RTLWIFI_PCI
1687 config-$(call config_package,rtlwifi-btcoexist) += RTLBTCOEXIST
1688 config-$(call config_package,rtlwifi-usb) += RTLWIFI_USB
1689 config-$(call config_package,rtl8192c-common) += RTL8192C_COMMON
1690 config-$(call config_package,rtl8192ce) += RTL8192CE
1691 config-$(call config_package,rtl8192se) += RTL8192SE
1692 config-$(call config_package,rtl8192de) += RTL8192DE
1693 config-$(call config_package,rtl8192cu) += RTL8192CU
1694 config-$(call config_package,rtl8821ae) += RTL8821AE
1695 config-$(CONFIG_PACKAGE_RTLWIFI_DEBUG) += RTLWIFI_DEBUG
1696
1697 config-$(call config_package,rtl8xxxu) += RTL8XXXU
1698 config-y += RTL8XXXU_UNTESTED
1699
1700 config-$(CONFIG_LEDS_TRIGGERS) += MAC80211_LEDS B43_LEDS B43LEGACY_LEDS
1701
1702 MAKE_OPTS:= -C "$(PKG_BUILD_DIR)" \
1703 $(KERNEL_MAKE_FLAGS) \
1704 EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include $(IREMAP_CFLAGS)" \
1705 KLIB_BUILD="$(LINUX_DIR)" \
1706 MODPROBE=true \
1707 KLIB=$(TARGET_MODULES_DIR) \
1708 KERNEL_SUBLEVEL=$(lastword $(subst ., ,$(KERNEL_PATCHVER))) \
1709 KBUILD_LDFLAGS_MODULE_PREREQ=
1710
1711 define ConfigVars
1712 $(subst $(space),,$(foreach opt,$(config-$(1)),CPTCFG_$(opt)=$(1)
1713 ))
1714 endef
1715
1716 define mac80211_config
1717 $(call ConfigVars,m)$(call ConfigVars,y)
1718 endef
1719 $(eval $(call shexport,mac80211_config))
1720
1721 define Build/Prepare
1722 rm -rf $(PKG_BUILD_DIR)
1723 mkdir -p $(PKG_BUILD_DIR)
1724 $(PKG_UNPACK)
1725 $(Build/Patch)
1726 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2100_NAME)-$(IPW2100_VERSION).tgz
1727 $(TAR) -C $(PKG_BUILD_DIR) -xzf $(DL_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION).tgz
1728 $(TAR) -C $(PKG_BUILD_DIR) -xjf $(DL_DIR)/$(ZD1211FW_NAME)-$(ZD1211FW_VERSION).tar.bz2
1729 rm -rf \
1730 $(PKG_BUILD_DIR)/include/linux/ssb \
1731 $(PKG_BUILD_DIR)/include/linux/bcma \
1732 $(PKG_BUILD_DIR)/include/net/bluetooth
1733
1734 rm -f \
1735 $(PKG_BUILD_DIR)/include/linux/cordic.h \
1736 $(PKG_BUILD_DIR)/include/linux/crc8.h \
1737 $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h \
1738 $(PKG_BUILD_DIR)/include/linux/wl12xx.h \
1739 $(PKG_BUILD_DIR)/include/linux/spi/libertas_spi.h \
1740 $(PKG_BUILD_DIR)/include/net/ieee80211.h \
1741 $(PKG_BUILD_DIR)/backport-include/linux/bcm47xx_nvram.h
1742
1743 echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
1744 endef
1745
1746 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)
1747 define Build/Compile/kmod
1748 rm -rf $(PKG_BUILD_DIR)/modules
1749 +$(MAKE) $(PKG_JOBS) $(MAKE_OPTS) modules
1750 endef
1751 endif
1752
1753 define Build/Configure
1754 cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h
1755 cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h
1756 cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h
1757 endef
1758
1759 define Build/Compile
1760 $(SH_FUNC) var2file "$(call shvar,mac80211_config)" $(PKG_BUILD_DIR)/.config
1761 $(MAKE) $(MAKE_OPTS) allnoconfig
1762 $(call Build/Compile/kmod)
1763 endef
1764
1765 define Build/InstallDev
1766 mkdir -p \
1767 $(1)/usr/include/mac80211 \
1768 $(1)/usr/include/mac80211-backport \
1769 $(1)/usr/include/mac80211/ath \
1770 $(1)/usr/include/net/mac80211
1771 $(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
1772 $(CP) $(PKG_BUILD_DIR)/backport-include/* $(1)/usr/include/mac80211-backport/
1773 $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
1774 $(CP) $(PKG_BUILD_DIR)/drivers/net/wireless/ath/*.h $(1)/usr/include/mac80211/ath/
1775 rm -f $(1)/usr/include/mac80211-backport/linux/module.h
1776 endef
1777
1778
1779 define KernelPackage/b43/install
1780 rm -rf $(1)/lib/firmware/
1781 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1782 tar xzf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1783 else
1784 tar xjf "$(DL_DIR)/$(PKG_B43_FWV4_SOURCE)" -C "$(PKG_BUILD_DIR)"
1785 endif
1786 $(INSTALL_DIR) $(1)/lib/firmware/
1787 ifeq ($(CONFIG_B43_OPENFIRMWARE),y)
1788 $(MAKE) -C "$(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/"
1789 $(INSTALL_DIR) $(1)/lib/firmware/b43-open/
1790 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/ucode5.fw $(1)/lib/firmware/b43-open/ucode5.fw
1791 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0bsinitvals5.fw $(1)/lib/firmware/b43-open/b0g0bsinitvals5.fw
1792 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)/b0g0initvals5.fw $(1)/lib/firmware/b43-open/b0g0initvals5.fw
1793 else
1794 b43-fwcutter -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_B43_FWV4_OBJECT)
1795 endif
1796 ifneq ($(CONFIG_B43_FW_SQUASH),)
1797 b43-fwsquash.py "$(CONFIG_B43_FW_SQUASH_PHYTYPES)" "$(CONFIG_B43_FW_SQUASH_COREREVS)" "$(1)/lib/firmware/b43"
1798 endif
1799 endef
1800
1801 define KernelPackage/brcmsmac/install
1802 $(INSTALL_DIR) $(1)/lib/firmware/brcm
1803 ifeq ($(CONFIG_BRCMSMAC_USE_FW_FROM_WL),y)
1804 tar xjf "$(DL_DIR)/$(PKG_BRCMSMAC_FW_SOURCE)" -C "$(PKG_BUILD_DIR)"
1805 b43-fwcutter --brcmsmac -w $(1)/lib/firmware/ $(PKG_BUILD_DIR)/$(PKG_BRCMSMAC_FW_OBJECT)
1806 endif
1807 endef
1808
1809 define KernelPackage/cfg80211/install
1810 $(INSTALL_DIR) $(1)/lib/wifi $(1)/lib/netifd/wireless
1811 $(INSTALL_DATA) ./files/lib/wifi/mac80211.sh $(1)/lib/wifi
1812 $(INSTALL_BIN) ./files/lib/netifd/wireless/mac80211.sh $(1)/lib/netifd/wireless
1813 $(INSTALL_DIR) $(1)/etc/hotplug.d/ieee80211
1814 $(INSTALL_DATA) ./files/mac80211.hotplug $(1)/etc/hotplug.d/ieee80211/00-wifi-detect
1815 endef
1816
1817 define KernelPackage/ipw2100/install
1818 $(INSTALL_DIR) $(1)/lib/firmware
1819 $(INSTALL_DATA) $(PKG_BUILD_DIR)/ipw2100-$(IPW2100_VERSION)*.fw $(1)/lib/firmware
1820 endef
1821
1822 define KernelPackage/ipw2200/install
1823 $(INSTALL_DIR) $(1)/lib/firmware
1824 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(IPW2200_NAME)-$(IPW2200_VERSION)/ipw2200*.fw $(1)/lib/firmware
1825 endef
1826
1827 define KernelPackage/zd1211rw/install
1828 $(INSTALL_DIR) $(1)/lib/firmware/zd1211
1829 $(INSTALL_DATA) $(PKG_BUILD_DIR)/$(ZD1211FW_NAME)/zd1211* $(1)/lib/firmware/zd1211
1830 endef
1831
1832
1833 $(eval $(call KernelPackage,adm8211))
1834 $(eval $(call KernelPackage,airo))
1835 $(eval $(call KernelPackage,ath))
1836 $(eval $(call KernelPackage,ath10k))
1837 $(eval $(call KernelPackage,ath5k))
1838 $(eval $(call KernelPackage,ath6kl))
1839 $(eval $(call KernelPackage,ath6kl-sdio))
1840 $(eval $(call KernelPackage,ath6kl-usb))
1841 $(eval $(call KernelPackage,ath9k))
1842 $(eval $(call KernelPackage,ath9k-common))
1843 $(eval $(call KernelPackage,ath9k-htc))
1844 $(eval $(call KernelPackage,b43))
1845 $(eval $(call KernelPackage,b43legacy))
1846 $(eval $(call KernelPackage,brcmsmac))
1847 $(eval $(call KernelPackage,brcmfmac))
1848 $(eval $(call KernelPackage,brcmutil))
1849 $(eval $(call KernelPackage,carl9170))
1850 $(eval $(call KernelPackage,cfg80211))
1851 $(eval $(call KernelPackage,hermes))
1852 $(eval $(call KernelPackage,hermes-pci))
1853 $(eval $(call KernelPackage,hermes-plx))
1854 $(eval $(call KernelPackage,hermes-pcmcia))
1855 $(eval $(call KernelPackage,iwlwifi))
1856 $(eval $(call KernelPackage,iwl-legacy))
1857 $(eval $(call KernelPackage,iwl4965))
1858 $(eval $(call KernelPackage,iwl3945))
1859 $(eval $(call KernelPackage,lib80211))
1860 $(eval $(call KernelPackage,libertas-usb))
1861 $(eval $(call KernelPackage,libertas-sdio))
1862 $(eval $(call KernelPackage,libertas-spi))
1863 $(eval $(call KernelPackage,libipw))
1864 $(eval $(call KernelPackage,ipw2100))
1865 $(eval $(call KernelPackage,ipw2200))
1866 $(eval $(call KernelPackage,mac80211))
1867 $(eval $(call KernelPackage,mac80211-hwsim))
1868 $(eval $(call KernelPackage,mt7601u))
1869 $(eval $(call KernelPackage,mwl8k))
1870 $(eval $(call KernelPackage,mwifiex-pcie))
1871 $(eval $(call KernelPackage,mwifiex-sdio))
1872 $(eval $(call KernelPackage,p54-common))
1873 $(eval $(call KernelPackage,p54-pci))
1874 $(eval $(call KernelPackage,p54-usb))
1875 $(eval $(call KernelPackage,p54-spi))
1876 $(eval $(call KernelPackage,rt2x00-lib))
1877 $(eval $(call KernelPackage,rt2x00-mmio))
1878 $(eval $(call KernelPackage,rt2x00-pci))
1879 $(eval $(call KernelPackage,rt2x00-usb))
1880 $(eval $(call KernelPackage,rt2800-lib))
1881 $(eval $(call KernelPackage,rt2400-pci))
1882 $(eval $(call KernelPackage,rt2500-pci))
1883 $(eval $(call KernelPackage,rt2500-usb))
1884 $(eval $(call KernelPackage,rt2800-mmio))
1885 $(eval $(call KernelPackage,rt2800-soc))
1886 $(eval $(call KernelPackage,rt2800-pci))
1887 $(eval $(call KernelPackage,rt2800-usb))
1888 $(eval $(call KernelPackage,rt61-pci))
1889 $(eval $(call KernelPackage,rt73-usb))
1890 $(eval $(call KernelPackage,rtl8180))
1891 $(eval $(call KernelPackage,rtl8187))
1892 $(eval $(call KernelPackage,rtlwifi))
1893 $(eval $(call KernelPackage,rtlwifi-pci))
1894 $(eval $(call KernelPackage,rtlwifi-btcoexist))
1895 $(eval $(call KernelPackage,rtlwifi-usb))
1896 $(eval $(call KernelPackage,rtl8192c-common))
1897 $(eval $(call KernelPackage,rtl8192ce))
1898 $(eval $(call KernelPackage,rtl8192se))
1899 $(eval $(call KernelPackage,rtl8192de))
1900 $(eval $(call KernelPackage,rtl8192cu))
1901 $(eval $(call KernelPackage,rtl8821ae))
1902 $(eval $(call KernelPackage,rtl8xxxu))
1903 $(eval $(call KernelPackage,wlcore))
1904 $(eval $(call KernelPackage,wl12xx))
1905 $(eval $(call KernelPackage,wl18xx))
1906 $(eval $(call KernelPackage,zd1211rw))