2 # Copyright (C) 2006-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 WIRELESS_MENU
:=Wireless Drivers
10 # NOTE: dependency on 2.6 was removed since it was inherited by kmod-hostap
11 # and prevented it from even showing up in menuconfig on 2.4
12 define KernelPackage
/ieee80211
13 SUBMENU
:=$(WIRELESS_MENU
)
14 TITLE
:=802.11 Networking stack
15 DEPENDS
:=+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic @LINUX_2_4||@LINUX_2_6_21||LINUX_2_6_25
18 CONFIG_IEEE80211_CRYPT_WEP \
19 CONFIG_IEEE80211_CRYPT_CCMP \
20 CONFIG_IEEE80211_CRYPT_TKIP
22 $(LINUX_DIR
)/net
/ieee80211
/ieee80211_crypt.
$(LINUX_KMOD_SUFFIX
) \
23 $(LINUX_DIR
)/net
/ieee80211
/ieee80211.
$(LINUX_KMOD_SUFFIX
) \
24 $(LINUX_DIR
)/net
/ieee80211
/ieee80211_crypt_wep.
$(LINUX_KMOD_SUFFIX
) \
25 $(LINUX_DIR
)/net
/ieee80211
/ieee80211_crypt_tkip.
$(LINUX_KMOD_SUFFIX
) \
26 $(LINUX_DIR
)/net
/ieee80211
/ieee80211_crypt_ccmp.
$(LINUX_KMOD_SUFFIX
)
27 AUTOLOAD
:=$(call AutoLoad
,10, \
31 ieee80211_crypt_tkip \
32 ieee80211_crypt_ccmp \
36 define KernelPackage
/ieee80211
/description
37 Kernel modules for
802.11 Networking stack
42 - ieee80211_crypt_tkip
43 - ieee80211_crytp_ccmp
46 $(eval
$(call KernelPackage
,ieee80211
))
49 define KernelPackage
/lib80211
50 SUBMENU
:=$(WIRELESS_MENU
)
51 TITLE
:=802.11 Networking stack
52 DEPENDS
:=@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32
55 CONFIG_LIB80211_CRYPT_WEP \
56 CONFIG_LIB80211_CRYPT_TKIP \
57 CONFIG_LIB80211_CRYPT_CCMP
59 $(LINUX_DIR
)/net
/wireless
/lib80211.
$(LINUX_KMOD_SUFFIX
) \
60 $(LINUX_DIR
)/net
/wireless
/lib80211_crypt_wep.
$(LINUX_KMOD_SUFFIX
) \
61 $(LINUX_DIR
)/net
/wireless
/lib80211_crypt_ccmp.
$(LINUX_KMOD_SUFFIX
) \
62 $(LINUX_DIR
)/net
/wireless
/lib80211_crypt_tkip.
$(LINUX_KMOD_SUFFIX
)
63 AUTOLOAD
:=$(call AutoLoad
,10, \
71 define KernelPackage
/lib80211
/description
72 Kernel modules for
802.11 Networking stack
80 $(eval
$(call KernelPackage
,lib80211
))
83 define KernelPackage
/net-libipw
84 SUBMENU
:=$(WIRELESS_MENU
)
85 TITLE
:=libipw for ipw2100 and ipw2200
86 DEPENDS
:=@PCI_SUPPORT
+kmod-crypto-arc4
+kmod-crypto-aes
+kmod-crypto-michael-mic
+kmod-lib80211 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32
87 KCONFIG
:=CONFIG_LIBIPW
88 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/ipw2x00
/libipw.
$(LINUX_KMOD_SUFFIX
)
89 AUTOLOAD
:=$(call AutoLoad
,49,libipw
)
92 define KernelPackage
/net-libipw
/description
93 Hardware independent IEEE
802.11 networking stack for ipw2100 and ipw2200.
96 $(eval
$(call KernelPackage
,net-libipw
))
99 define KernelPackage
/net-ipw2100
100 SUBMENU
:=$(WIRELESS_MENU
)
101 TITLE
:=Intel IPW2100 driver
102 DEPENDS
:=@PCI_SUPPORT
+!(LINUX_2_6_30||LINUX_2_6_31
):kmod-ieee80211
+LINUX_2_6_30||LINUX_2_6_31
:kmod-net-libipw
103 KCONFIG
:=CONFIG_IPW2100
104 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2100.
$(LINUX_KMOD_SUFFIX
)
105 AUTOLOAD
:=$(call AutoLoad
,50,ipw2100
)
108 define KernelPackage
/net-ipw2100
/description
109 Kernel support for Intel IPW2100
114 $(eval
$(call KernelPackage
,net-ipw2100
))
117 define KernelPackage
/net-ipw2200
118 SUBMENU
:=$(WIRELESS_MENU
)
119 TITLE
:=Intel IPW2200 driver
120 DEPENDS
:=@PCI_SUPPORT
+!(LINUX_2_6_30||LINUX_2_6_31
):kmod-ieee80211
+LINUX_2_6_30||LINUX_2_6_31
:kmod-net-libipw
121 KCONFIG
:=CONFIG_IPW2200
122 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/ipw2x00
/ipw2200.
$(LINUX_KMOD_SUFFIX
)
123 AUTOLOAD
:=$(call AutoLoad
,50,ipw2200
)
126 define KernelPackage
/net-ipw2200
/description
127 Kernel support for Intel IPW2200
132 $(eval
$(call KernelPackage
,net-ipw2200
))
135 define KernelPackage
/net-airo
136 SUBMENU
:=$(WIRELESS_MENU
)
137 TITLE
:=Cisco Aironet driver
138 DEPENDS
:=@PCI_SUPPORT
140 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/airo.
$(LINUX_KMOD_SUFFIX
)
141 AUTOLOAD
:=$(call AutoLoad
,50,airo
)
144 define KernelPackage
/net-airo
/description
145 Kernel support for Cisco Aironet cards
148 $(eval
$(call KernelPackage
,net-airo
))
151 define KernelPackage
/net-hermes
152 SUBMENU
:=$(WIRELESS_MENU
)
153 TITLE
:=Hermes
802.11b chipset support
154 DEPENDS
:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
155 KCONFIG
:=CONFIG_HERMES \
156 CONFIG_HERMES_CACHE_FW_ON_INIT
=n
158 $(LINUX_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco.
$(LINUX_KMOD_SUFFIX
)
159 AUTOLOAD
:=$(call AutoLoad
,50,orinoco
)
162 define KernelPackage
/net-hermes
/description
163 Kernel support for Hermes
802.11b chipsets
166 $(eval
$(call KernelPackage
,net-hermes
))
169 define KernelPackage
/net-hermes-pci
170 SUBMENU
:=$(WIRELESS_MENU
)
171 TITLE
:=Intersil Prism
2.5 PCI support
172 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
173 KCONFIG
:=CONFIG_PCI_HERMES
174 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_pci.
$(LINUX_KMOD_SUFFIX
)
175 AUTOLOAD
:=$(call AutoLoad
,55,orinoco_pci
)
178 define KernelPackage
/net-hermes-pci
/description
179 Kernel modules for Intersil Prism
2.5 PCI support
182 $(eval
$(call KernelPackage
,net-hermes-pci
))
185 define KernelPackage
/net-hermes-plx
186 SUBMENU
:=$(WIRELESS_MENU
)
187 TITLE
:=PLX9052 based PCI adaptor
188 DEPENDS
:=@PCI_SUPPORT
+kmod-net-hermes
189 KCONFIG
:=CONFIG_PLX_HERMES
190 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/orinoco
/orinoco_plx.
$(LINUX_KMOD_SUFFIX
)
191 AUTOLOAD
:=$(call AutoLoad
,55,orinoco_plx
)
194 define KernelPackage
/net-hermes-plx
/description
195 Kernel modules for Hermes in PLX9052 based PCI adaptors
198 $(eval
$(call KernelPackage
,net-hermes-plx
))
201 define KernelPackage
/net-prism54
202 SUBMENU
:=$(WIRELESS_MENU
)
203 TITLE
:=Intersil Prism54 support
204 DEPENDS
:=@PCI_SUPPORT
205 KCONFIG
:=CONFIG_PRISM54
206 FILES
:=$(LINUX_DIR
)/drivers
/net
/wireless
/prism54
/prism54.
$(LINUX_KMOD_SUFFIX
)
207 AUTOLOAD
:=$(call AutoLoad
,60,prism54
)
210 define KernelPackage
/net-prism54
/description
211 Kernel modules for Intersil Prism54 support
214 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
215 PRISM54_FW
:=1.0.4.3.arm
217 define Download
/net-prism54
219 URL
:=http
://daemonizer.de
/prism54
/prism54-fw
/fw-fullmac
/
220 MD5SUM
:=8bd4310971772a486b9784c77f8a6df9
223 define KernelPackage
/net-prism54
/install
224 $(INSTALL_DIR
) $(1)/lib
/firmware
225 $(INSTALL_DATA
) $(DL_DIR
)/$(PRISM54_FW
) $(1)/lib
/firmware
/isl3890
228 $(eval
$(call Download
,net-prism54
))
229 $(eval
$(call KernelPackage
,net-prism54
))