All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dcbw@redhat.com>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: linux-wireless@vger.kernel.org
Subject: Re: iwl3945 losing association after resume from suspend
Date: Tue, 26 May 2009 13:26:27 -0400	[thread overview]
Message-ID: <1243358787.8063.15.camel@localhost.localdomain> (raw)
In-Reply-To: <200905262051.42896.arvidjaar@mail.ru>

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



      reply	other threads:[~2009-05-26 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 16:51 iwl3945 losing association after resume from suspend Andrey Borzenkov
2009-05-26 17:26 ` Dan Williams [this message]

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=1243358787.8063.15.camel@localhost.localdomain \
    --to=dcbw@redhat.com \
    --cc=arvidjaar@mail.ru \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.