From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 4 23:57:57 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7E271065673; Tue, 4 Mar 2008 23:57:57 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC2F8FC22; Tue, 4 Mar 2008 23:57:57 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.182.66] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JWh19-0006lE-Mq; Wed, 05 Mar 2008 00:57:55 +0100 Message-ID: <47CDE20E.1020100@FreeBSD.org> Date: Wed, 05 Mar 2008 00:58:06 +0100 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080304) MIME-Version: 1.0 To: Andrew Thompson References: <47CDC37B.5010405@FreeBSD.org> <20080304223854.GB34712@heff.fud.org.nz> In-Reply-To: <20080304223854.GB34712@heff.fud.org.nz> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Hackers Subject: Re: wpi -- periodic disconnections X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 23:57:57 -0000 Andrew Thompson wrote: > On Tue, Mar 04, 2008 at 10:47:39PM +0100, Pietro Cerutti wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA512 >> >> Hi list, >> >> I can't get my if_wpi (Intel(R) PRO/Wireless 3945ABG) stay connected to >> my WPA-enabled access point for more than a few hours. Moreover, when it >> happens, I have to unload the module, reload it and restart >> wpa_supplicant in order to reconnect to the network. Any ideas? > > I have a WIP patch that may help, please give this a go. > > http://citylink.unixathome.org/~thompsa/wpi_testing8.diff > > Its the combination of several peoples work and I am planning to send it > out again later in the week after some more review. Hello, your patch helps, partially: - I've had a disconnection after a few minutes: Michael MIC failure wireless event: keyix=0 src_addr=00:1a:70:47:cc:5c Michael MIC failure detected WPA: Sending EAPOL-Key Request (error=1 pairwise=1 ptk_set=1 len=99) TKIP countermeasures started wpa_driver_bsd_set_countermeasures: enabled=1 State: COMPLETED -> DISCONNECTED wpa_driver_bsd_deauthenticate wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_del_key: addr=00:1a:70:47:cc:5c keyidx=0 ioctl[SIOCS80211, op 20, len 7]: Can't assign requested address EAPOL: External notification - portEnabled=0 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: SUPP_BE entering state INITIALIZE EAPOL: External notification - portValid=0 Added BSSID 00:1a:70:47:cc:5c into blacklist CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys - I've been able to reconnect without kld-reloading the module, by killing and restarting wpa_supplicant > > > cheers, > Andrew > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp