netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <jkmaline@cc.hut.fi>
To: "Andonieh, Joe" <joe.andonieh@intel.com>
Cc: Jean Tourrilhes <jt@hpl.hp.com>, netdev@oss.sgi.com
Subject: Re: RFC: Linux wireless extensions and WPA support
Date: Sun, 13 Jun 2004 13:11:34 -0700	[thread overview]
Message-ID: <20040613201134.GC7327@jm.kir.nu> (raw)
In-Reply-To: <386CBF9421521B41835E2BF21BEF80B8968D33@hasmsx402.ger.corp.intel.com>

On Wed, Jun 09, 2004 at 09:23:23AM +0300, Andonieh, Joe wrote:

> 	Thinking about access point we need a way to set more than one
> cipher suite for the pairwise cipher list (for example mixed mode, which
> have both TKIP and CCMP users.
> 
> Another aspect is an AP that wants to support more than one mode of
> operation, for example; advertise both WPA and RSN IE, or both WPA .1X
> and WPA PSK?

These both can use the generic IE mechanism (SIOCSIWGENIE) to configure
whatever mode is needed. I'm more used to doing the policy decision in
user space (e.g., validating WPA/RSN IE in AssocReq), so there has not
been much need in pushing all the information to the driver.

Of course, we could change the IW_AUTH_ parameters for cipher and key
management suites to use bit field. This limits the number of options to
32, but that should be enough and if not, can be extended in the future.
IW_AUTH_ALG_ is already doing this anyway and IW_AUTH_WPA_VERSION_ has
only two values, so it works as a bit field already (just needs to be
documented as such).

> From the Client Perspective; isn't it better Idea for the station decide
> or match an access point to connect with depending on the pairwise
> cipher only? For example a client that supports CCMP can connect to both
> access point where each one may be working in different mode, WPA --
> CCMP as both pair wise and group ciphers or with an AP in mixed mode
> which have CCMP as pairwise and TKIP as groupcast cipher.

The group cipher could be anything from WEP40 to CCMP and I want to be
able to configure the client to reject APs that do not meet the
current policy (which might be, "require CCMP"). Doing the selection
only based on pairwise cipher would thus not be enough.

Changing the IW_AUTH_ parameters to be bitfields would help here, too,
for the case of client drivers that want to do the WPA/RSN IE processing
in the driver instead of letting Supplicant take care of this. Actually,
this reminded me of another thing I forgot: we should add reporting of
the exact IE that was used in (Re)AssocReq as a wireless event to the
Supplicant so that this case of WPA/RSN IE being generated in the
driver is supported.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2004-06-13 20:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09  6:23 RFC: Linux wireless extensions and WPA support Andonieh, Joe
2004-06-13 20:11 ` Jouni Malinen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-14  8:56 Andonieh, Joe
2004-06-14 22:50 ` Jean Tourrilhes
2004-06-08  7:36 Andonieh, Joe
2004-06-08 16:58 ` Jean Tourrilhes
2004-06-07  2:34 Jouni Malinen
2004-06-08  0:26 ` Jean Tourrilhes
2004-06-09  3:45   ` Jouni Malinen

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=20040613201134.GC7327@jm.kir.nu \
    --to=jkmaline@cc.hut.fi \
    --cc=joe.andonieh@intel.com \
    --cc=jt@hpl.hp.com \
    --cc=netdev@oss.sgi.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).