* iwl3945 losing association after resume from suspend
@ 2009-05-26 16:51 Andrey Borzenkov
2009-05-26 17:26 ` Dan Williams
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2009-05-26 16:51 UTC (permalink / raw)
To: linux-wireless
[-- Attachment #1: Type: Text/Plain, Size: 329 bytes --]
I am running 2.6.29.3. After resume from STR (assuming that long enough
time has passed) connectivity is lost. There is no messages in log. Just
running "wpa_cli reassociate" "fixes" it.
Is there any way driver can declare existing connection as "stale" and
tell wpa_supplicant to reassociate?
Thank you!
-andrey
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: iwl3945 losing association after resume from suspend
2009-05-26 16:51 iwl3945 losing association after resume from suspend Andrey Borzenkov
@ 2009-05-26 17:26 ` Dan Williams
0 siblings, 0 replies; 2+ messages in thread
From: Dan Williams @ 2009-05-26 17:26 UTC (permalink / raw)
To: Andrey Borzenkov; +Cc: linux-wireless
On Tue, 2009-05-26 at 20:51 +0400, Andrey Borzenkov wrote:
> I am running 2.6.29.3. After resume from STR (assuming that long enough
> time has passed) connectivity is lost. There is no messages in log. Just
> running "wpa_cli reassociate" "fixes" it.
>
> Is there any way driver can declare existing connection as "stale" and
> tell wpa_supplicant to reassociate?
Send a disassociate event on resume if a few seconds have passed. But
in reality, this is usually done in userspace via pm-utils
suspend/resume scripts or some other mechanism based on the kernel's
uevents. It's not something that kernel drivers report back to
userspace, because that suspend/resume event is handled by the kernel in
a non-driver-specific fashion. You could use pm-utils scripts to
trigger the reassociation if you like, which is where most of the
userspace suspend/resume handling stuff lives these days.
Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-26 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-26 16:51 iwl3945 losing association after resume from suspend Andrey Borzenkov
2009-05-26 17:26 ` Dan Williams
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).