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