From: Dan Williams <dcbw@redhat.com>
To: reinette chatre <reinette.chatre@intel.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"Zhu, Yi" <yi.zhu@intel.com>
Subject: Re: [PATCH v2] ipw2x00: age scan results on resume
Date: Wed, 11 Feb 2009 12:14:49 -0500 [thread overview]
Message-ID: <1234372489.2648.1.camel@localhost> (raw)
In-Reply-To: <1234306699.1626.34.camel@rc-desk>
On Tue, 2009-02-10 at 14:58 -0800, reinette chatre wrote:
> On Tue, 2009-02-10 at 14:10 -0800, Dan Williams wrote:
> > Scanned BSS entries are timestamped with jiffies, which doesn't
> > increment across suspend and hibernate. On resume, every BSS in the
> > scan list looks like it was scanned within the last 10 seconds,
> > irregardless of how long the machine was actually asleep. Age scan
> > results on resume with the time spent during sleep so userspace has a
> > clue how old they really are.
> >
> > Signed-off-by: Dan Williams <dcbw@redhat.com>
> > ---
> > This fixes NetworkManager and wpa_supplicant trying to connect to the AP
> > associated with at suspend/hibernate time, which clearly may not exist
> > at the location where the machine is waking up.
> >
> > v2: always set suspend_at
>
> Thank you.
Found an issue, plus ieee80211_translate_scan() doesn't handle large
unsigned network->last_seen values (leading to stuff like "Last beacon:
-32131218ms ago"), so I'll post a v3 update.
Dan
prev parent reply other threads:[~2009-02-11 17:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-10 22:10 [PATCH v2] ipw2x00: age scan results on resume Dan Williams
2009-02-10 22:58 ` reinette chatre
2009-02-11 17:14 ` 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=1234372489.2648.1.camel@localhost \
--to=dcbw@redhat.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=reinette.chatre@intel.com \
--cc=yi.zhu@intel.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 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.