* mac80211: reassociate in STA mode after AP was power-cycled
@ 2009-08-21 21:11 Joerg Albert
2009-08-21 21:23 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Joerg Albert @ 2009-08-21 21:11 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless@vger.kernel.org
I had a ar9170usb device in STA mode associated to an AP and power-cycled the AP - slowly enough to get the
STA disassociated.
I wonder why the STA doesn't re-associate again to the AP once it's up again. Waited for 5+ minutes.
I see the AP in the output of "iwlist wlan1 scan" and after "ifconfig wlan1 down; ifconfig wlan1 up"
the STA associates quickly.
wireless-testing from today, v2.6.31-rc6-31653-g0dfdb6f.
Some lines from syslog, between "ifconfig wlan1 up" and powering off the AP:
Aug 21 22:55:33 nc10 kernel: [ 1854.824443] wlan1: direct probe to AP 00:30:f1:d5:2e:69 (try 1)
Aug 21 22:55:33 nc10 kernel: [ 1854.826914] wlan1 direct probe responded
Aug 21 22:55:33 nc10 kernel: [ 1854.826930] wlan1: authenticate with AP 00:30:f1:d5:2e:69 (try 1)
Aug 21 22:55:33 nc10 kernel: [ 1854.830003] wlan1: authenticated
Aug 21 22:55:33 nc10 kernel: [ 1854.837585] wlan1: associate with AP 00:30:f1:d5:2e:69 (try 1)
Aug 21 22:55:33 nc10 kernel: [ 1854.839656] wlan1: RX AssocResp from 00:30:f1:d5:2e:69 (capab=0x421 status=0 aid=5)
Aug 21 22:55:33 nc10 kernel: [ 1854.839670] wlan1: associated
Aug 21 22:55:33 nc10 kernel: [ 1854.847296] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Aug 21 22:55:45 nc10 kernel: [ 1867.500169] No probe response from AP 00:30:f1:d5:2e:69 after 500ms, disconnecting.
Regards,
Jörg.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mac80211: reassociate in STA mode after AP was power-cycled
2009-08-21 21:11 mac80211: reassociate in STA mode after AP was power-cycled Joerg Albert
@ 2009-08-21 21:23 ` Johannes Berg
2009-08-21 23:15 ` Joerg Albert
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2009-08-21 21:23 UTC (permalink / raw)
To: Joerg Albert; +Cc: linux-wireless@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 422 bytes --]
On Fri, 2009-08-21 at 23:11 +0200, Joerg Albert wrote:
> I had a ar9170usb device in STA mode associated to an AP and power-cycled the AP - slowly enough to get the
> STA disassociated.
>
> I wonder why the STA doesn't re-associate again to the AP once it's up again. Waited for 5+ minutes.
It told userspace that it disconnected, and as such it can't do anything
any more. Just run wpa_supplicant.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mac80211: reassociate in STA mode after AP was power-cycled
2009-08-21 21:23 ` Johannes Berg
@ 2009-08-21 23:15 ` Joerg Albert
0 siblings, 0 replies; 3+ messages in thread
From: Joerg Albert @ 2009-08-21 23:15 UTC (permalink / raw)
To: Johannes Berg; +Cc: linux-wireless@vger.kernel.org
On 08/21/2009 11:23 PM, Johannes Berg wrote:
> On Fri, 2009-08-21 at 23:11 +0200, Joerg Albert wrote:
>> I had a ar9170usb device in STA mode associated to an AP and power-cycled the AP - slowly enough to get the
>> STA disassociated.
>>
>> I wonder why the STA doesn't re-associate again to the AP once it's up again. Waited for 5+ minutes.
>
> It told userspace that it disconnected, and as such it can't do anything
> any more. Just run wpa_supplicant.
Thanks, that helped. I wasn't aware that wpa_supplicant controls non-wpa connections, too.
Jörg.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-21 23:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 21:11 mac80211: reassociate in STA mode after AP was power-cycled Joerg Albert
2009-08-21 21:23 ` Johannes Berg
2009-08-21 23:15 ` Joerg Albert
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).