aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig11
-rw-r--r--net/Makefile2
-rw-r--r--net/ieee80211/Kconfig3
-rw-r--r--net/wireless/Kconfig23
-rw-r--r--net/wireless/Makefile1
5 files changed, 35 insertions, 5 deletions
diff --git a/net/Kconfig b/net/Kconfig
index e2d9b3b9cda4..ae1817dc51b8 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -212,14 +212,17 @@ endmenu
212source "net/ax25/Kconfig" 212source "net/ax25/Kconfig"
213source "net/irda/Kconfig" 213source "net/irda/Kconfig"
214source "net/bluetooth/Kconfig" 214source "net/bluetooth/Kconfig"
215source "net/ieee80211/Kconfig"
216
217config WIRELESS_EXT
218 bool
219 215
220config FIB_RULES 216config FIB_RULES
221 bool 217 bool
222 218
219menu "Wireless"
220
221source "net/wireless/Kconfig"
222source "net/ieee80211/Kconfig"
223
224endmenu
225
223endif # if NET 226endif # if NET
224endmenu # Networking 227endmenu # Networking
225 228
diff --git a/net/Makefile b/net/Makefile
index 4854ac506313..29bbe19d87f1 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -52,3 +52,5 @@ obj-$(CONFIG_IUCV) += iucv/
52ifeq ($(CONFIG_NET),y) 52ifeq ($(CONFIG_NET),y)
53obj-$(CONFIG_SYSCTL) += sysctl_net.o 53obj-$(CONFIG_SYSCTL) += sysctl_net.o
54endif 54endif
55
56obj-y += wireless/
diff --git a/net/ieee80211/Kconfig b/net/ieee80211/Kconfig
index 6ef766ef9618..1438adedbc83 100644
--- a/net/ieee80211/Kconfig
+++ b/net/ieee80211/Kconfig
@@ -56,7 +56,8 @@ config IEEE80211_CRYPT_CCMP
56 56
57config IEEE80211_CRYPT_TKIP 57config IEEE80211_CRYPT_TKIP
58 tristate "IEEE 802.11i TKIP encryption" 58 tristate "IEEE 802.11i TKIP encryption"
59 depends on IEEE80211 && NET_RADIO 59 depends on IEEE80211
60 select WIRELESS_EXT
60 select CRYPTO 61 select CRYPTO
61 select CRYPTO_MICHAEL_MIC 62 select CRYPTO_MICHAEL_MIC
62 select CRYPTO_ECB 63 select CRYPTO_ECB
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
new file mode 100644
index 000000000000..ca2f05c29760
--- /dev/null
+++ b/net/wireless/Kconfig
@@ -0,0 +1,23 @@
1config WIRELESS_EXT
2 bool "Wireless extensions"
3 default n
4 ---help---
5 This option enables the legacy wireless extensions
6 (wireless network interface configuration via ioctls.)
7
8 Wireless extensions will be replaced by cfg80211 and
9 will be required only by legacy drivers that implement
10 wireless extension handlers.
11
12 Say N (if you can) unless you know you need wireless
13 extensions for external modules.
14
15config NET_WIRELESS_RTNETLINK
16 bool "Wireless Extension API over RtNetlink"
17 depends on WIRELESS_EXT
18 ---help---
19 Support the Wireless Extension API over the RtNetlink socket
20 in addition to the traditional ioctl interface (selected above).
21
22 For now, few tools use this facility, but it might grow in the
23 future. The only downside is that it adds 4.5 kB to your kernel.
diff --git a/net/wireless/Makefile b/net/wireless/Makefile
new file mode 100644
index 000000000000..cf4e3d9726b8
--- /dev/null
+++ b/net/wireless/Makefile
@@ -0,0 +1 @@
# dummy file for now