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