NetBSD Problem Report #31827

From www@netbsd.org  Sun Oct 16 09:53:35 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id D42B163B850; Sun, 16 Oct 2005 09:53:35 +0000 (UTC)
Message-Id: <20051016095335.D42B163B850@narn.netbsd.org>
Date: Sun, 16 Oct 2005 09:53:35 +0000 (UTC)
From: karl@utopiafoundation.org
Reply-To: karl@utopiafoundation.org
To: gnats-bugs@netbsd.org
Subject: ieee802.11: station won't associate with access-point
X-Send-Pr-Version: www-1.0

>Number:         31827
>Category:       kern
>Synopsis:       ieee802.11: station won't associate with access-point
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 09:54:00 +0000 2005
>Originator:     Karl Janmar
>Release:        2005-10-16 current
>Organization:
>Environment:
>Description:
There is a problem in the net80211 code, it refuse to associate without WEP IF the access-point advertise WEP capabilities. If an access-point advertise it's capable of WEP it doesn't necessarily disallow non-WEP stations from associate.

NOTE:
This was observed with FreeBSD-6 current when associating to a Cisco aironet 1230B AP. As they use the same code for ieee802.11 networking I am pretty sure this apply to netbsd as well.
(I haven't filed a PR to freebsd).


>How-To-Repeat:
Try to associate to an access-point without WEP if the access-point advertise WEP capabilites.
>Fix:
Index: ieee80211_node.c
===================================================================
RCS file: /cvsroot/src/sys/net80211/ieee80211_node.c,v
retrieving revision 1.44
Apply this patch.
(this is filed with the web sendpr form, maybe the patch isn't properly
 formateted)

diff -u -r1.44 ieee80211_node.c
--- ieee80211_node.c	25 Sep 2005 00:03:06 -0000	1.44
+++ ieee80211_node.c	16 Oct 2005 09:01:56 -0000
@@ -503,10 +503,6 @@
 	if (ic->ic_flags & IEEE80211_F_PRIVACY) {
 		if ((ni->ni_capinfo & IEEE80211_CAPINFO_PRIVACY) == 0)
 			fail |= 0x04;
-	} else {
-		/* XXX does this mean privacy is supported or required? */
-		if (ni->ni_capinfo & IEEE80211_CAPINFO_PRIVACY)
-			fail |= 0x04;
 	}
 	rate = ieee80211_fix_rate(ic, ni,
 			IEEE80211_F_DONEGO | IEEE80211_F_DOFRATE);

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.