summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig84
-rw-r--r--net/Makefile4
l---------net/compat-wireless1
3 files changed, 89 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index 878151c772c..04940819819 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -309,12 +309,96 @@ menuconfig WIRELESS
depends on !S390
default y
+#
+# These are for the compat-wireless git
+#
+
+config COMPAT_WIRELESS
+ tristate "Compat Wireless"
+ default n
+ ---help---
+ To compile this code as a module, choose M here.
+if COMPAT_WIRELESS
+
+config CFG80211
+ tristate "Compat CFG80211"
+ default n
+ ---help---
+ To compile this code as a module, choose M here.
+
+config COMPAT_MAC80211_RC_DEFAULT
+ string "MAC80211_RC_DEFAULT"
+ default "minstrel"
+ ---help---
+
+config MAC80211_RC_DEFAULT_MINSTREL
+ bool "MAC80211_RC_DEFAULT_MINSTREL"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config COMPAT_RFKILL
+ tristate "Compat RFKILL"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config NL80211_TESTMODE
+ bool "Compat NL80211 testmode"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config CFG80211_DEFAULT_PS
+ bool "CFG80211_DEFAULT_PS"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config CFG80211_REG_DEBUG
+ bool "CFG80211_REG_DEBUG"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config MAC80211_RC_PID
+ bool "MAC80211_RC_PID"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config MAC80211_RC_MINSTREL
+ bool "MAC80211_RC_MINSTREL"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config MAC80211_LEDS
+ bool "MAC80211_LEDS"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+config MAC80211_MESH
+ bool "MAC80211_MESH"
+ depends on COMPAT_WIRELESS
+ default y
+ ---help---
+
+endif
+
+#
+# End compat-wireless
+#
+
+if !COMPAT_WIRELESS
if WIRELESS
source "net/wireless/Kconfig"
source "net/mac80211/Kconfig"
endif # WIRELESS
+endif #!COMPAT_WIRELESS
source "net/wimax/Kconfig"
diff --git a/net/Makefile b/net/Makefile
index a51d9465e62..9186c4bd78e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -48,8 +48,12 @@ endif
obj-$(CONFIG_IP_DCCP) += dccp/
obj-$(CONFIG_IP_SCTP) += sctp/
obj-$(CONFIG_RDS) += rds/
+ifneq ($(CONFIG_COMPAT_WIRELESS),)
+obj-$(CONFIG_COMPAT_WIRELESS) += compat-wireless/
+else
obj-$(CONFIG_WIRELESS) += wireless/
obj-$(CONFIG_MAC80211) += mac80211/
+endif
obj-$(CONFIG_TIPC) += tipc/
obj-$(CONFIG_NETLABEL) += netlabel/
obj-$(CONFIG_IUCV) += iucv/
diff --git a/net/compat-wireless b/net/compat-wireless
new file mode 120000
index 00000000000..7b862a0bd9e
--- /dev/null
+++ b/net/compat-wireless
@@ -0,0 +1 @@
+../../vendor/st-ericsson/connectivity/wlan/compat-wireless \ No newline at end of file