From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "John W. Linville" <linville@tuxdriver.com>,
David Spinadel <david.spinadel@intel.com>,
linux-wireless@vger.kernel.org,
David Miller <davem@davemloft.net>,
Intel Linux Wireless <ilw@linux.intel.com>
Subject: Re: 3.4-merge: iwlwifi needs more than 1 minute to connect
Date: Mon, 26 Mar 2012 16:18:15 +0200 [thread overview]
Message-ID: <4F707AA7.5050401@hartkopp.net> (raw)
In-Reply-To: <1332756333.7081.18.camel@jlt3.sipsolutions.net>
On 26.03.2012 12:05, Johannes Berg wrote:
> Hi Oliver,
>
>> i'm using the *very* latest 3.4-merge tree from Linus and my Wifi now needs
>> more than one minute to connect to my access point.
>
>> [ 16.288562] wlan0: authenticate with bc:05:43:94:1a:da
>> [ 16.299644] wlan0: send auth to bc:05:43:94:1a:da (try 1/3)
>> [ 16.302060] wlan0: authenticated
>> [ 16.302492] wlan0: waiting for beacon from bc:05:43:94:1a:da
>> [ 16.432398] iwlwifi 0000:02:00.0: ACTIVATE a non DRIVER active station id 0 addr bc:05:43:94:1a:da
>
> This is an odd message. I need to figure out how that can even happen.
>
> What's the beacon interval on your AP? It seems more likely that this is
> a problem with RX though.
Hm - but i definitely didn't change my setup or AP.
It's only a difference in the kernel.
>
>> [ 29.434897] wlan0: authenticate with bc:05:43:94:1a:da
>> [ 29.445634] wlan0: send auth to bc:05:43:94:1a:da (try 1/3)
>> [ 29.448168] wlan0: authenticated
>> [ 29.448229] wlan0: waiting for beacon from bc:05:43:94:1a:da
>> [ 29.473633] iwlwifi 0000:02:00.0: ACTIVATE a non DRIVER active station id 0 addr bc:05:43:94:1a:da
>
> So this repeats, I suspect the 15 second retry timer is in
> wpa_supplicant.
ok.
>
>> [ 55.773770] wlan0: authenticate with bc:05:43:94:1a:da
>> [ 55.784316] wlan0: send auth to bc:05:43:94:1a:da (try 1/3)
>> [ 55.786758] wlan0: authenticated
>> [ 55.787407] wlan0: associate with bc:05:43:94:1a:da (try 1/3)
>> [ 55.791114] wlan0: RX AssocResp from bc:05:43:94:1a:da (capab=0x431 status=0 aid=4)
>> [ 55.791121] wlan0: associated
>
> So when it succeeds it basically doesn't do the beacon wait thing. I
> guess that is the problem then.
>
>
> Do you think you could collect some tracing info?
>
> trace-cmd record -e mac80211 -e iwlwifi
>
> would be useful.
No, i can't %-)
But step by step:
1. I downloaded trace-cmd with git
2. trace-cmd told me to enable debugfs
With debugfs enabled the problem is gone :-]
[ 15.821526] wlan0: authenticate with bc:05:43:94:1a:da
[ 15.825722] wlan0: send auth to bc:05:43:94:1a:da (try 1/3)
[ 16.028772] wlan0: send auth to bc:05:43:94:1a:da (try 2/3)
[ 16.030738] wlan0: authenticated
[ 16.032812] wlan0: associate with bc:05:43:94:1a:da (try 1/3)
[ 16.036512] wlan0: RX AssocResp from bc:05:43:94:1a:da (capab=0x431
status=0 aid=3)
[ 16.036519] wlan0: associated
[ 16.046018] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 26.610520] wlan0: no IPv6 routers present
Oh, well.
Maybe some other information might help:
I always run Daves net-next tree on my machine.
Until the release of 3.3 on march 18th i had no problem with net-next.
But this problem appeared first, when i used Linus' merge tree.
Not the first day when the net-next was pulled into Linus' tree but some time
later.
Regards,
Oliver
next prev parent reply other threads:[~2012-03-26 14:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 18:04 pull request: wireless-next 2012-03-16 John W. Linville
2012-03-16 21:12 ` David Miller
2012-03-23 19:40 ` 3.4-merge: iwlwifi needs more than 1 minute to connect Oliver Hartkopp
2012-03-26 10:05 ` Johannes Berg
2012-03-26 14:18 ` Oliver Hartkopp [this message]
2012-03-26 15:13 ` Oliver Hartkopp
2012-03-26 15:20 ` Oliver Hartkopp
2012-03-29 4:54 ` Oliver Hartkopp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F707AA7.5050401@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=davem@davemloft.net \
--cc=david.spinadel@intel.com \
--cc=ilw@linux.intel.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).