mac80211 is not available for kernels < 2.6.22
[openwrt/svn-archive/archive.git] / package / kernel / modules / wireless.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 WIMENU:=Wireless Drivers
10
11 define KernelPackage/ieee80211
12 TITLE:=802.11 Networking stack
13 DESCRIPTION:=\\\
14 \\\
15 Includes: \\\
16 - ieee80211_crypt \\\
17 - ieee80211 \\\
18 - ieee80211_crypt_wep \\\
19 - ieee80211_crypt_tkip \\\
20 - ieee80211_crytp_ccmp \\\
21 DEPENDS:=@LINUX_2_6 +kmod-crypto
22 KCONFIG:=$(CONFIG_IEEE80211)
23 FILES:= \
24 $(LINUX_DIR)/net/ieee80211/*.$(LINUX_KMOD_SUFFIX)
25 AUTOLOAD:=$(call AutoLoad,10, \
26 ieee80211_crypt \
27 ieee80211 \
28 ieee80211_crypt_wep \
29 ieee80211_crypt_tkip \
30 ieee80211_crypt_ccmp \
31 )
32 SUBMENU:=$(WIMENU)
33 endef
34 $(eval $(call KernelPackage,ieee80211))
35
36
37 define KernelPackage/ieee80211-softmac
38 TITLE:=ieee80211 SoftMAC support
39 DEPENDS:=kmod-ieee80211
40 KCONFIG:=$(CONFIG_IEEE80211_SOFTMAC)
41 FILES:= \
42 $(LINUX_DIR)/net/ieee80211/softmac/*.$(LINUX_KMOD_SUFFIX)
43 AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
44 SUBMENU:=$(WIMENU)
45 endef
46 $(eval $(call KernelPackage,ieee80211-softmac))
47
48 define KernelPackage/mac80211
49 TITLE:=mac80211 (Devicescape) support
50 DEPENDS:=@LINUX_2_6
51 KCONFIG:=$(CONFIG_MAC80211)
52 FILES:= \
53 $(LINUX_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX) \
54 $(LINUX_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
55 $(LINUX_DIR)/net/mac80211/rc80211_simple.$(LINUX_KMOD_SUFFIX)
56 AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211 rc80211_simple)
57 SUBMENU:=$(WIMENU)
58 endef
59 $(eval $(call KernelPackage,mac80211))
60
61 define KernelPackage/net-bcm43xx
62 TITLE:=Broadcom BCM43xx driver
63 DESCRIPTION:=\\\
64 \\\
65 Includes: \\\
66 - bcm43xx
67 DEPENDS:=kmod-ieee80211-softmac
68 KCONFIG:=$(CONFIG_BCM43XX)
69 FILES:=$(LINUX_DIR)/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
70 AUTOLOAD:=$(call AutoLoad,50,bcm43xx)
71 SUBMENU:=$(WIMENU)
72 endef
73 $(eval $(call KernelPackage,net-bcm43xx))
74
75 define KernelPackage/net-ipw2100
76 TITLE:=Intel IPW2100 driver
77 DESCRIPTION:=\\\
78 \\\
79 Includes: \\\
80 - ipw2100
81 DEPENDS:=kmod-ieee80211
82 KCONFIG:=$(CONFIG_IPW2100)
83 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
84 AUTOLOAD:=$(call AutoLoad,50,ipw2100)
85 SUBMENU:=$(WIMENU)
86 endef
87 $(eval $(call KernelPackage,net-ipw2100))
88
89 define KernelPackage/net-ipw2200
90 TITLE:=Intel IPW2200 driver
91 DESCRIPTION:=\\\
92 \\\
93 Includes: \\\
94 - ipw2200
95 DEPENDS:=kmod-ieee80211
96 KCONFIG:=$(CONFIG_IPW2200)
97 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
98 AUTOLOAD:=$(call AutoLoad,50,ipw2200)
99 SUBMENU:=$(WIMENU)
100 endef
101 $(eval $(call KernelPackage,net-ipw2200))
102
103
104 define KernelPackage/net-airo
105 TITLE:=Cisco Aironet driver
106 DESCRIPTION:=Driver for Cisco Aironet cards
107 KCONFIG:=$(CONFIG_AIRO)
108 SUBMENU:=$(WIMENU)
109 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
110 AUTOLOAD:=$(call AutoLoad,50,airo)
111 endef
112 $(eval $(call KernelPackage,net-airo))
113
114
115 define KernelPackage/net-hermes
116 TITLE:=Hermes 802.11b chipset support
117 DESCRIPTION:=Kernel support for Hermes 802.11b chipsets
118 KCONFIG:=$(CONFIG_HERMES)
119 SUBMENU:=$(WIMENU)
120 FILES:= \
121 $(LINUX_DIR)/drivers/net/wireless/hermes.$(LINUX_KMOD_SUFFIX) \
122 $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX)
123 AUTOLOAD:=$(call AutoLoad,50,hermes orinoco)
124 endef
125 $(eval $(call KernelPackage,net-hermes))
126
127
128 define KernelPackage/net-hermes-pci
129 TITLE:=Intersil Prism 2.5 PCI support
130 DESCRIPTION:=Kernel modules for Intersil Prism 2.5 PCI support
131 KCONFIG:=$(CONFIG_PCI_HERMES)
132 DEPENDS:=kmod-net-hermes
133 SUBMENU:=$(WIMENU)
134 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_pci.$(LINUX_KMOD_SUFFIX)
135 AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
136 endef
137 $(eval $(call KernelPackage,net-hermes-pci))
138
139
140 define KernelPackage/net-hermes-plx
141 TITLE:=PLX9052 based PCI adaptor
142 DESCRIPTION:=Kernel modules for Hermes in PLX9052 based PCI adaptors
143 KCONFIG:=$(CONFIG_PLX_HERMES)
144 DEPENDS:=kmod-net-hermes
145 SUBMENU:=$(WIMENU)
146 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_plx.$(LINUX_KMOD_SUFFIX)
147 AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
148 endef
149 $(eval $(call KernelPackage,net-hermes-plx))
150
151
152 define KernelPackage/net-prism54
153 TITLE:=Intersil Prism54 support
154 DESCRIPTION:=Kernel modules for Intersil Prism54 support
155 KCONFIG:=$(CONFIG_PRISM54)
156 SUBMENU:=$(WIMENU)
157 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX)
158 AUTOLOAD:=$(call AutoLoad,60,prism54)
159 endef
160 $(eval $(call KernelPackage,net-prism54))
161
162
163 define KernelPackage/net-zd1211rw
164 TITLE:=Zydas ZD1211 support
165 DESCRIPTION:=Kernel modules Zydas ZD1211 support, kernel version
166 KCONFIG:=$(CONFIG_ZD1211RW)
167 DEPENDS:=+kmod-ieee80211 +zd1211-firmware @LINUX_2_6
168 SUBMENU:=$(WIMENU)
169 FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.$(LINUX_KMOD_SUFFIX)
170 AUTOLOAD:=$(call AutoLoad,60,zd1211rw)
171 endef
172 $(eval $(call KernelPackage,net-zd1211rw))