mac80211: disable drivers that rely on wireless extensions
[openwrt/openwrt.git] / package / kernel / mac80211 / marvell.mk
1 PKG_DRIVERS += \
2 libertas-sdio libertas-usb libertas-spi \
3 mwl8k mwifiex-pcie mwifiex-sdio
4
5 config-$(call config_package,libertas-sdio) += LIBERTAS LIBERTAS_SDIO
6 config-$(call config_package,libertas-usb) += LIBERTAS LIBERTAS_USB
7 config-$(call config_package,libertas-spi) += LIBERTAS LIBERTAS_SPI
8 config-$(call config_package,mwl8k) += MWL8K
9 config-$(call config_package,mwifiex-pcie) += MWIFIEX MWIFIEX_PCIE
10 config-$(call config_package,mwifiex-sdio) += MWIFIEX MWIFIEX_SDIO
11
12 define KernelPackage/libertas-usb
13 $(call KernelPackage/mac80211/Default)
14 DEPENDS+= @USB_SUPPORT +kmod-cfg80211 +kmod-usb-core +kmod-lib80211 +@DRIVER_WEXT_SUPPORT +libertas-usb-firmware
15 TITLE:=Marvell 88W8015 Wireless Driver
16 DEFAULT:=n
17 FILES:= \
18 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
19 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/usb8xxx.ko
20 AUTOLOAD:=$(call AutoProbe,libertas usb8xxx)
21 endef
22
23 define KernelPackage/libertas-sdio
24 $(call KernelPackage/mac80211/Default)
25 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +kmod-mmc +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-sdio-firmware
26 TITLE:=Marvell 88W8686 Wireless Driver
27 DEFAULT:=n
28 FILES:= \
29 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
30 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_sdio.ko
31 AUTOLOAD:=$(call AutoProbe,libertas libertas_sdio)
32 endef
33
34 define KernelPackage/libertas-spi
35 $(call KernelPackage/mac80211/Default)
36 SUBMENU:=Wireless Drivers
37 DEPENDS+= +kmod-cfg80211 +kmod-lib80211 +@DRIVER_WEXT_SUPPORT @!TARGET_uml +libertas-spi-firmware
38 DEFAULT:=n
39 KCONFIG := \
40 CONFIG_SPI=y \
41 CONFIG_SPI_MASTER=y
42 TITLE:=Marvell 88W8686 SPI Wireless Driver
43 FILES:= \
44 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas.ko \
45 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/libertas/libertas_spi.ko
46 AUTOLOAD:=$(call AutoProbe,libertas libertas_spi)
47 endef
48
49
50 define KernelPackage/mwl8k
51 $(call KernelPackage/mac80211/Default)
52 TITLE:=Driver for Marvell TOPDOG 802.11 Wireless cards
53 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwl8k
54 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +mwl8k-firmware
55 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwl8k.ko
56 AUTOLOAD:=$(call AutoProbe,mwl8k)
57 endef
58
59 define KernelPackage/mwl8k/description
60 Kernel modules for Marvell TOPDOG 802.11 Wireless cards
61 endef
62
63
64 define KernelPackage/mwifiex-pcie
65 $(call KernelPackage/mac80211/Default)
66 TITLE:=Driver for Marvell 802.11n/802.11ac PCIe Wireless cards
67 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
68 DEPENDS+= @PCI_SUPPORT +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-pcie-firmware
69 FILES:= \
70 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
71 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_pcie.ko
72 AUTOLOAD:=$(call AutoProbe,mwifiex_pcie)
73 endef
74
75 define KernelPackage/mwifiex-pcie/description
76 Kernel modules for Marvell 802.11n/802.11ac PCIe Wireless cards
77 endef
78
79 define KernelPackage/mwifiex-sdio
80 $(call KernelPackage/mac80211/Default)
81 TITLE:=Driver for Marvell 802.11n/802.11ac SDIO Wireless cards
82 URL:=https://wireless.wiki.kernel.org/en/users/drivers/mwifiex
83 DEPENDS+= +kmod-mmc +kmod-mac80211 +@DRIVER_11N_SUPPORT +@DRIVER_11AC_SUPPORT +mwifiex-sdio-firmware
84 FILES:= \
85 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex.ko \
86 $(PKG_BUILD_DIR)/drivers/net/wireless/marvell/mwifiex/mwifiex_sdio.ko
87 AUTOLOAD:=$(call AutoProbe,mwifiex_sdio)
88 endef
89
90 define KernelPackage/mwifiex-sdio/description
91 Kernel modules for Marvell 802.11n/802.11ac SDIO Wireless cards
92 endef
93