linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Ritz <daniel.ritz@gmx.ch>
To: Johannes Berg <johannes@sipsolutions.net>,
	"John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org, daniel.ritz-ml@swissonline.ch
Subject: [PATCH] lib80211: make crypt modules configurable by user
Date: Wed, 02 Dec 2009 00:46:14 +0100	[thread overview]
Message-ID: <1259711174.13720.17.camel@MacRitz2> (raw)

Make the crypt modules configurable by user. Normally drivers select them
when needed, but out-of-tree drivers can't do that. Having a minimal
kernel with just the things required won't select any of those modules,
resulting in the external driver to be close to useless (ie. it can scan
the networks, but cannot join a single one).

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
---
 net/wireless/Kconfig |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index abf7ca3..48f60ab 100644
--- a/net/wireless/Kconfig
+++ b/net/wireless/Kconfig
@@ -123,17 +123,30 @@ config LIB80211
 	  This options enables a library of common routines used
 	  by IEEE802.11 wireless LAN drivers.
 
-	  Drivers should select this themselves if needed.  Say Y if
-	  you want this built into your kernel.
+	  Drivers should select this themselves if needed, but for
+	  out-of-tree drivers manually selecting it might be required.
+	  Say Y if you want this built into your kernel.
 
 config LIB80211_CRYPT_WEP
-	tristate
+	tristate "lib80211 WEP support module"
+	depends on LIB80211
+	default m
+	help
+	  This adds WEP support to lib80211.
 
 config LIB80211_CRYPT_CCMP
-	tristate
+	tristate "lib80211 CCMP support module"
+	depends on LIB80211
+	default m
+	help
+	  This adds CCMP support to lib80211.
 
 config LIB80211_CRYPT_TKIP
-	tristate
+	tristate "lib80211 TKIP support module"
+	depends on LIB80211
+	default m
+	help
+	  This adds TKIP support to lib80211.
 
 config LIB80211_DEBUG
 	bool "lib80211 debugging messages"
-- 
1.6.3.3




             reply	other threads:[~2009-12-01 23:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01 23:46 Daniel Ritz [this message]
2009-12-01 23:59 ` [PATCH] lib80211: make crypt modules configurable by user Johannes Berg
2009-12-02 22:38   ` Daniel Ritz
2009-12-03  9:20     ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1259711174.13720.17.camel@MacRitz2 \
    --to=daniel.ritz@gmx.ch \
    --cc=daniel.ritz-ml@swissonline.ch \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).