From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 5 03:14:21 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 01A6C106566C; Wed, 5 Mar 2008 03:14:21 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id A64018FC1D; Wed, 5 Mar 2008 03:14:20 +0000 (UTC) (envelope-from sam@errno.com) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m253EJcF076939 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Mar 2008 19:14:20 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <47CE100B.5090701@errno.com> Date: Tue, 04 Mar 2008 19:14:19 -0800 From: Sam Leffler User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Pietro Cerutti References: <47CDC37B.5010405@FreeBSD.org> <20080304223854.GB34712@heff.fud.org.nz> <47CDE20E.1020100@FreeBSD.org> In-Reply-To: <47CDE20E.1020100@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: FreeBSD Hackers , Andrew Thompson 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: Wed, 05 Mar 2008 03:14:21 -0000 Pietro Cerutti wrote: > 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 > > Something is corrupting data on rx; it is unlikely you are getting MIC errors. Sam