Also load capifs
[openwrt.git] / package / kernel / modules / wireless.mk
1 #
2 # Copyright (C) 2006-2008 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 WIRELESS_MENU:=Wireless Drivers
10
11 # NOTE: dependency on 2.6 was removed since it was inherited by kmod-hostap
12 # and prevented it from even showing up in menuconfig on 2.4
13 define KernelPackage/ieee80211
14 SUBMENU:=$(WIRELESS_MENU)
15 TITLE:=802.11 Networking stack
16 DEPENDS:=+kmod-crypto-arc4 +kmod-crypto-aes +kmod-crypto-michael-mic
17 KCONFIG:= \
18 CONFIG_IEEE80211 \
19 CONFIG_IEEE80211_CRYPT_WEP \
20 CONFIG_IEEE80211_CRYPT_CCMP \
21 CONFIG_IEEE80211_CRYPT_TKIP
22 FILES:= \
23 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt.$(LINUX_KMOD_SUFFIX) \
24 $(LINUX_DIR)/net/ieee80211/ieee80211.$(LINUX_KMOD_SUFFIX) \
25 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
26 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_tkip.$(LINUX_KMOD_SUFFIX) \
27 $(LINUX_DIR)/net/ieee80211/ieee80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,10, \
29 ieee80211_crypt \
30 ieee80211 \
31 ieee80211_crypt_wep \
32 ieee80211_crypt_tkip \
33 ieee80211_crypt_ccmp \
34 )
35 endef
36
37 define KernelPackage/ieee80211/description
38 Kernel modules for 802.11 Networking stack
39 Includes:
40 - ieee80211_crypt
41 - ieee80211
42 - ieee80211_crypt_wep
43 - ieee80211_crypt_tkip
44 - ieee80211_crytp_ccmp
45 endef
46
47 $(eval $(call KernelPackage,ieee80211))
48
49
50 define KernelPackage/ieee80211-softmac
51 SUBMENU:=$(WIRELESS_MENU)
52 TITLE:=ieee80211 SoftMAC support
53 DEPENDS:=+kmod-ieee80211
54 KCONFIG:=CONFIG_IEEE80211_SOFTMAC
55 FILES:=$(LINUX_DIR)/net/ieee80211/softmac/ieee80211softmac.$(LINUX_KMOD_SUFFIX)
56 AUTOLOAD:=$(call AutoLoad,20,ieee80211softmac)
57 endef
58
59 define KernelPackage/ieee80211-softmac/description
60 Kernel modules for 802.11 SoftMAC support
61 endef
62
63 $(eval $(call KernelPackage,ieee80211-softmac))
64
65
66 define KernelPackage/net-bcm43xx
67 SUBMENU:=$(WIRELESS_MENU)
68 TITLE:=Broadcom BCM43xx driver
69 DEPENDS:=@TARGET_brcm47xx||TARGET_brcm63xx +kmod-ieee80211-softmac
70 KCONFIG:=CONFIG_BCM43XX
71 FILES:=$(LINUX_DIR)/drivers/net/wireless/bcm43xx/bcm43xx.$(LINUX_KMOD_SUFFIX)
72 AUTOLOAD:=$(call AutoLoad,50,bcm43xx)
73 endef
74
75 define KernelPackage/net-bcm43xx/description
76 Kernel support for Broadcom BCM43xx
77 Includes:
78 - bcm43xx
79 endef
80
81 $(eval $(call KernelPackage,net-bcm43xx))
82
83
84 define KernelPackage/net-ipw2100
85 SUBMENU:=$(WIRELESS_MENU)
86 TITLE:=Intel IPW2100 driver
87 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
88 KCONFIG:=CONFIG_IPW2100
89 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2100.$(LINUX_KMOD_SUFFIX)
90 AUTOLOAD:=$(call AutoLoad,50,ipw2100)
91 endef
92
93 define KernelPackage/net-ipw2100/description
94 Kernel support for Intel IPW2100
95 Includes:
96 - ipw2100
97 endef
98
99 $(eval $(call KernelPackage,net-ipw2100))
100
101
102 define KernelPackage/net-ipw2200
103 SUBMENU:=$(WIRELESS_MENU)
104 TITLE:=Intel IPW2200 driver
105 DEPENDS:=@PCI_SUPPORT +kmod-ieee80211
106 KCONFIG:=CONFIG_IPW2200
107 FILES:=$(LINUX_DIR)/drivers/net/wireless/ipw2200.$(LINUX_KMOD_SUFFIX)
108 AUTOLOAD:=$(call AutoLoad,50,ipw2200)
109 endef
110
111 define KernelPackage/net-ipw2200/description
112 Kernel support for Intel IPW2200
113 Includes:
114 - ipw2200
115 endef
116
117 $(eval $(call KernelPackage,net-ipw2200))
118
119
120 define KernelPackage/net-airo
121 SUBMENU:=$(WIRELESS_MENU)
122 TITLE:=Cisco Aironet driver
123 DEPENDS:=@PCI_SUPPORT
124 KCONFIG:=CONFIG_AIRO
125 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
126 AUTOLOAD:=$(call AutoLoad,50,airo)
127 endef
128
129 define KernelPackage/net-airo/description
130 Kernel support for Cisco Aironet cards
131 endef
132
133 $(eval $(call KernelPackage,net-airo))
134
135
136 define KernelPackage/net-hermes
137 SUBMENU:=$(WIRELESS_MENU)
138 TITLE:=Hermes 802.11b chipset support
139 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
140 KCONFIG:=CONFIG_HERMES
141 FILES:= \
142 $(LINUX_DIR)/drivers/net/wireless/hermes.$(LINUX_KMOD_SUFFIX) \
143 $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX) \
144 $(if $(CONFIG_LINUX_2_6_28),$(LINUX_DIR)/drivers/net/wireless/hermes_dld.$(LINUX_KMOD_SUFFIX))
145 AUTOLOAD:=$(if $(CONFIG_LINUX_2_6_28),$(call AutoLoad,50,hermes hermes_dld orinoco),$(call AutoLoad,50,hermes orinoco))
146 endef
147
148 define KernelPackage/net-hermes/description
149 Kernel support for Hermes 802.11b chipsets
150 endef
151
152 $(eval $(call KernelPackage,net-hermes))
153
154
155 define KernelPackage/net-hermes-pci
156 SUBMENU:=$(WIRELESS_MENU)
157 TITLE:=Intersil Prism 2.5 PCI support
158 DEPENDS:=@PCI_SUPPORT kmod-net-hermes
159 KCONFIG:=CONFIG_PCI_HERMES
160 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_pci.$(LINUX_KMOD_SUFFIX)
161 AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
162 endef
163
164 define KernelPackage/net-hermes-pci/description
165 Kernel modules for Intersil Prism 2.5 PCI support
166 endef
167
168 $(eval $(call KernelPackage,net-hermes-pci))
169
170
171 define KernelPackage/net-hermes-plx
172 SUBMENU:=$(WIRELESS_MENU)
173 TITLE:=PLX9052 based PCI adaptor
174 DEPENDS:=@PCI_SUPPORT kmod-net-hermes
175 KCONFIG:=CONFIG_PLX_HERMES
176 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco_plx.$(LINUX_KMOD_SUFFIX)
177 AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
178 endef
179
180 define KernelPackage/net-hermes-plx/description
181 Kernel modules for Hermes in PLX9052 based PCI adaptors
182 endef
183
184 $(eval $(call KernelPackage,net-hermes-plx))
185
186
187 define KernelPackage/net-prism54
188 SUBMENU:=$(WIRELESS_MENU)
189 TITLE:=Intersil Prism54 support
190 DEPENDS:=@PCI_SUPPORT
191 KCONFIG:=CONFIG_PRISM54
192 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX)
193 AUTOLOAD:=$(call AutoLoad,60,prism54)
194 endef
195
196 define KernelPackage/net-prism54/description
197 Kernel modules for Intersil Prism54 support
198 endef
199
200 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
201 PRISM54_FW:=1.0.4.3.arm
202
203 define Download/net-prism54
204 FILE:=$(PRISM54_FW)
205 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
206 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
207 endef
208
209 define KernelPackage/net-prism54/install
210 $(INSTALL_DIR) $(1)/lib/firmware
211 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
212 endef
213
214 $(eval $(call Download,net-prism54))
215 $(eval $(call KernelPackage,net-prism54))
216
This page took 0.05153 seconds and 5 git commands to generate.