From owner-freebsd-current@FreeBSD.ORG Sun Dec 12 23:47:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B993216A4CE for ; Sun, 12 Dec 2004 23:47:14 +0000 (GMT) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id A1CE643D5C for ; Sun, 12 Dec 2004 23:47:13 +0000 (GMT) (envelope-from rushani@bl.mmtr.or.jp) Received: (qmail 7682 invoked from network); 13 Dec 2004 08:47:10 +0900 Received: from unknown (HELO localhost) (210.165.212.57) by wasley.bl.mmtr.or.jp with SMTP; 13 Dec 2004 08:47:10 +0900 Date: Mon, 13 Dec 2004 08:46:09 +0900 (JST) Message-Id: <20041213.084609.112548949.rushani@bl.mmtr.or.jp> To: sam@errno.com From: Hideyuki KURASHINA In-Reply-To: <41BBCE36.9000201@errno.com> References: <41BB8550.30208@errno.com> <41BBA53B.9070006@telia.com> <41BBCE36.9000201@errno.com> X-URL: http://www.rushani.jp/ X-PGP-Public-Key: http://www.rushani.jp/rushani.asc X-PGP-Fingerprint: A052 6F98 6146 6FE3 91E2 DA6B F2FA 2088 439A DC57 X-RC5-72-Stats: http://stats.distributed.net/participant/psummary.php?project_id=8&id=432320 X-Mailer: Mew version 4.1.52 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: WEP does not work? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Dec 2004 23:47:14 -0000 Hi, >>> On Sat, 11 Dec 2004 20:51:02 -0800, Sam Leffler said: > The 802.11 state machine is being clocked when you do this and clearing > the global key state when it goes through the INIT state (80211debug > +state will show you). I added this just recently to insure key state > was cleared when a device was marked down but on reflection it was a bad > idea. The following change will revert this: > > Index: ieee80211_proto.c > =================================================================== > RCS file: /home/ncvs/src/sys/net80211/ieee80211_proto.c,v > retrieving revision 1.10 > diff -u -r1.10 ieee80211_proto.c > --- ieee80211_proto.c 8 Dec 2004 17:26:47 -0000 1.10 > +++ ieee80211_proto.c 12 Dec 2004 04:47:30 -0000 > @@ -895,7 +895,6 @@ > ic->ic_mgt_timer = 0; > IF_DRAIN(&ic->ic_mgtq); > ieee80211_reset_bss(ic); > - ieee80211_crypto_delglobalkeys(ic); > break; > } > if (ic->ic_auth->ia_detach != NULL) New kernel rebuilt from src/net80211/ as of today solves my problem (static WEP turned on w/ AP). However ath device still needs to be configured by `ifconfig channel 3' manually here, these changes are good to go forward. Sam, Many thanks! -- rushani