Return-path: Received: from gv-out-0910.google.com ([216.239.58.188]:3887 "EHLO gv-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbYIBO65 (ORCPT ); Tue, 2 Sep 2008 10:58:57 -0400 Received: by gv-out-0910.google.com with SMTP id e6so59392gvc.37 for ; Tue, 02 Sep 2008 07:58:52 -0700 (PDT) Date: Tue, 2 Sep 2008 17:58:41 +0300 From: "Michael S. Tsirkin" To: Dan Williams Cc: Johannes Berg , Zhu Yi , "Rafael J. Wysocki" , LKML , reinette.chatre@intel.com, linux-wireless@vger.kernel.org, Jan-Espen Pettersen , "John W. Linville" Subject: Re: new: regression iwl3945/mac80211 endless after suspend associate/deassociate loop Message-ID: <20080902145840.GE19172@google.com> (sfid-20080902_165903_228546_BDB901C4) References: <20080901160658.GA11063@google.com> <1220319536.28282.128.camel@debian.sh.intel.com> <4b0be9b641de902cb7de4ad50686f6e1.squirrel@secure.sipsolutions.net> <20080902130429.GB19172@google.com> <1220362201.3176.4.camel@borkbork.foobar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1220362201.3176.4.camel@borkbork.foobar.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Sep 02, 2008 at 09:30:01AM -0400, Dan Williams wrote: > On Tue, 2008-09-02 at 16:04 +0300, Michael S. Tsirkin wrote: > > On Tue, Sep 02, 2008 at 08:10:09AM +0200, Johannes Berg wrote: > > > Zhu Yi wrote: > > > > On Mon, 2008-09-01 at 19:07 +0300, Michael S. Tsirkin wrote: > > > >> [16482.909453] eth1: associate with AP XX:XX:XX:XX:XX:XX > > > >> [16482.918553] eth1: RX ReassocResp from XX:XX:XX:XX:XX:XX > > > >> (capab=0x411 status=0 aid=1) > > > >> [16482.918564] eth1: associated > > > >> [16492.920224] eth1: disassociating by local choice (reason=3) > > > >> [16492.920986] eth1: disassociating by local choice (reason=3) > > > > > > > > It is exactly 10 seconds the local STA sends the deauth_leaving frame > > > > before associated everytime. I wonder if it is the timeout for some > > > > wireless config tools. NM? > > > > > > "by local choice" means wext requested this, not a kernel bug. > > > > > > johannes > > > > Sure, it's wpa_supplicant in ubuntu gutsy doing it. > > > > $wpa_supplicant -version > > wpa_supplicant v0.5.8 > > Copyright (c) 2003-2007, Jouni Malinen and contributors > > > > But it happens to work fine without 8ab65b03b7893da4a49009e7e356e36e27b0c407. > > That's really odd; that patch (the don't-send-empty-extended-rates-IE > patch) shouldn't have anything to do with this behavior, if it did you > wouldn't get associated to the AP in the first place I think. You're > 100% sure that this patch is causing the problem? No, not sure. But reverting it seems to have helped. And there does not seem to be anything else relevant between rc4 and rc5. > Can you post the > output of running wpa_supplicant with the "-dddt" flags I put up a (sanitized) -dd output here http://bugzilla.kernel.org/show_bug.cgi?id=11476 > and also post > the 'iwlist scan' output for your AP? > > Dan OK, I will look into collecting this data.