linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: John Linville <linville@tuxdriver.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: remove shared key todo
Date: Mon, 16 Jun 2008 16:19:26 -0400	[thread overview]
Message-ID: <1213647566.18384.6.camel@localhost.localdomain> (raw)
In-Reply-To: <1213642529.3803.47.camel@johannes.berg>

On Mon, 2008-06-16 at 20:55 +0200, Johannes Berg wrote:
> Adding shared key authentication is not going to happen anyway.

+1; I've _never_ heard or seen anyone using Shared Key auth with adhoc.
How would that work anyway, given that there's no AP to send you the
challenge text?  Just auth against some random peer?

Dan

> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
> ---
>  net/mac80211/mlme.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> --- everything.orig/net/mac80211/mlme.c	2008-06-16 09:30:45.000000000 +0200
> +++ everything/net/mac80211/mlme.c	2008-06-16 09:31:01.000000000 +0200
> @@ -1753,11 +1753,12 @@ static void ieee80211_rx_mgmt_auth(struc
>  	       auth_transaction, status_code);
>  
>  	if (sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
> -		/* IEEE 802.11 standard does not require authentication in IBSS
> +		/*
> +		 * IEEE 802.11 standard does not require authentication in IBSS
>  		 * networks and most implementations do not seem to use it.
>  		 * However, try to reply to authentication attempts if someone
>  		 * has actually implemented this.
> -		 * TODO: Could implement shared key authentication. */
> +		 */
>  		if (auth_alg != WLAN_AUTH_OPEN || auth_transaction != 1) {
>  			printk(KERN_DEBUG "%s: unexpected IBSS authentication "
>  			       "frame (alg=%d transaction=%d)\n",
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2008-06-16 20:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-16 18:55 [PATCH] mac80211: remove shared key todo Johannes Berg
2008-06-16 20:19 ` Dan Williams [this message]
2008-06-16 20:21   ` Johannes Berg
2008-06-16 20:25     ` Johannes Berg
2008-06-16 20:38     ` Dan Williams
2008-06-16 20:46       ` Johannes Berg
2008-06-16 21:47         ` Tomas Winkler
2008-06-17 18:12         ` Dan Williams
2008-06-17 18:41           ` Tomas Winkler
2008-06-17 19:02             ` Dan Williams

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=1213647566.18384.6.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --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).