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