[package] fix kmod-nls-base dependency with usb-core (#6753)
[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
8 WIRELESS_MENU:=Wireless Drivers
9
10 define KernelPackage/lib80211
11 SUBMENU:=$(WIRELESS_MENU)
12 TITLE:=802.11 Networking stack
13 DEPENDS:=@!LINUX_2_4
14 KCONFIG:= \
15 CONFIG_LIB80211 \
16 CONFIG_LIB80211_CRYPT_WEP \
17 CONFIG_LIB80211_CRYPT_TKIP \
18 CONFIG_LIB80211_CRYPT_CCMP
19 FILES:= \
20 $(LINUX_DIR)/net/wireless/lib80211.$(LINUX_KMOD_SUFFIX) \
21 $(LINUX_DIR)/net/wireless/lib80211_crypt_wep.$(LINUX_KMOD_SUFFIX) \
22 $(LINUX_DIR)/net/wireless/lib80211_crypt_ccmp.$(LINUX_KMOD_SUFFIX) \
23 $(LINUX_DIR)/net/wireless/lib80211_crypt_tkip.$(LINUX_KMOD_SUFFIX)
24 AUTOLOAD:=$(call AutoLoad,10, \
25 lib80211 \
26 lib80211_crypt_wep \
27 lib80211_crypt_ccmp \
28 lib80211_crypt_tkip \
29 )
30 endef
31
32 define KernelPackage/lib80211/description
33 Kernel modules for 802.11 Networking stack
34 Includes:
35 - lib80211
36 - lib80211_crypt_wep
37 - lib80211_crypt_tkip
38 - lib80211_crytp_ccmp
39 endef
40
41 $(eval $(call KernelPackage,lib80211))
42
43 define KernelPackage/net-airo
44 SUBMENU:=$(WIRELESS_MENU)
45 TITLE:=Cisco Aironet driver
46 DEPENDS:=@PCI_SUPPORT
47 KCONFIG:=CONFIG_AIRO
48 FILES:=$(LINUX_DIR)/drivers/net/wireless/airo.$(LINUX_KMOD_SUFFIX)
49 AUTOLOAD:=$(call AutoLoad,50,airo)
50 endef
51
52 define KernelPackage/net-airo/description
53 Kernel support for Cisco Aironet cards
54 endef
55
56 $(eval $(call KernelPackage,net-airo))
57
58
59 define KernelPackage/net-hermes
60 SUBMENU:=$(WIRELESS_MENU)
61 TITLE:=Hermes 802.11b chipset support
62 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
63 KCONFIG:=CONFIG_HERMES \
64 CONFIG_HERMES_CACHE_FW_ON_INIT=n
65 FILES:= \
66 $(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco.$(LINUX_KMOD_SUFFIX)
67 AUTOLOAD:=$(call AutoLoad,50,orinoco)
68 endef
69
70 define KernelPackage/net-hermes/description
71 Kernel support for Hermes 802.11b chipsets
72 endef
73
74 $(eval $(call KernelPackage,net-hermes))
75
76
77 define KernelPackage/net-hermes-pci
78 SUBMENU:=$(WIRELESS_MENU)
79 TITLE:=Intersil Prism 2.5 PCI support
80 DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
81 KCONFIG:=CONFIG_PCI_HERMES
82 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_pci.$(LINUX_KMOD_SUFFIX)
83 AUTOLOAD:=$(call AutoLoad,55,orinoco_pci)
84 endef
85
86 define KernelPackage/net-hermes-pci/description
87 Kernel modules for Intersil Prism 2.5 PCI support
88 endef
89
90 $(eval $(call KernelPackage,net-hermes-pci))
91
92
93 define KernelPackage/net-hermes-plx
94 SUBMENU:=$(WIRELESS_MENU)
95 TITLE:=PLX9052 based PCI adaptor
96 DEPENDS:=@PCI_SUPPORT +kmod-net-hermes
97 KCONFIG:=CONFIG_PLX_HERMES
98 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_plx.$(LINUX_KMOD_SUFFIX)
99 AUTOLOAD:=$(call AutoLoad,55,orinoco_plx)
100 endef
101
102 define KernelPackage/net-hermes-plx/description
103 Kernel modules for Hermes in PLX9052 based PCI adaptors
104 endef
105
106 $(eval $(call KernelPackage,net-hermes-plx))
107
108
109 define KernelPackage/net-hermes-pcmcia
110 SUBMENU:=$(WIRELESS_MENU)
111 TITLE:=Hermes based PCMCIA adaptors
112 DEPENDS:=@PCMCIA_SUPPORT +kmod-net-hermes
113 KCONFIG:=CONFIG_PCMCIA_HERMES
114 FILES:=$(LINUX_DIR)/drivers/net/wireless/orinoco/orinoco_cs.$(LINUX_KMOD_SUFFIX)
115 AUTOLOAD:=$(call AutoLoad,55,orinoco_cs)
116 endef
117
118 define KernelPackage/net-hermes-pcmcia/description
119 Kernel modules for Hermes based PCMCIA adaptors
120 endef
121
122 $(eval $(call KernelPackage,net-hermes-pcmcia))
123
124
125 define KernelPackage/net-prism54
126 SUBMENU:=$(WIRELESS_MENU)
127 TITLE:=Intersil Prism54 support
128 DEPENDS:=@PCI_SUPPORT
129 KCONFIG:=CONFIG_PRISM54
130 FILES:=$(LINUX_DIR)/drivers/net/wireless/prism54/prism54.$(LINUX_KMOD_SUFFIX)
131 AUTOLOAD:=$(call AutoLoad,60,prism54)
132 endef
133
134 define KernelPackage/net-prism54/description
135 Kernel modules for Intersil Prism54 support
136 endef
137
138 # Prism54 FullMAC firmware (jbnore.free.fr seems to be rather slow, so we use daemonizer.de)
139 PRISM54_FW:=1.0.4.3.arm
140
141 define Download/net-prism54
142 FILE:=$(PRISM54_FW)
143 URL:=http://daemonizer.de/prism54/prism54-fw/fw-fullmac/
144 MD5SUM:=8bd4310971772a486b9784c77f8a6df9
145 endef
146
147 define KernelPackage/net-prism54/install
148 $(INSTALL_DIR) $(1)/lib/firmware
149 $(INSTALL_DATA) $(DL_DIR)/$(PRISM54_FW) $(1)/lib/firmware/isl3890
150 endef
151
152 $(eval $(call Download,net-prism54))
153 $(eval $(call KernelPackage,net-prism54))
154
This page took 0.042338 seconds and 5 git commands to generate.