public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: "Guy, Wey-Yi" <wey-yi.w.guy@intel.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Jouni Malinen <j@w1.fi>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v3 1/1] mac80211: tell driver when dtim change detected
Date: Mon, 25 Jan 2010 12:46:59 -0800	[thread overview]
Message-ID: <1264452419.11524.26.camel@wwguy-ubuntu> (raw)
In-Reply-To: <1264450301.23766.65.camel@johannes.local>

On Mon, 2010-01-25 at 12:11 -0800, Johannes Berg wrote:
> On Mon, 2010-01-25 at 10:35 -0800, Jouni Malinen wrote:
> > On Fri, Jan 22, 2010 at 08:03:01PM +0100, Johannes Berg wrote:
> > > The other solution I see is that we add a new step before or after the
> > > direct probe step, which would just be "wait for a beacon". This would
> > > ensure we have both probe and beacon information always ready. It would
> > > also ensure we have both probe and beacon info for our new userspace
> > > reporting of that.
> > 
> > I'm somewhat concerned about this as an unconditional change for our
> > association process due to the extra latency it adds. At minimum, I
> > would like to see a driver flag that can be used to indicate that such
> > behavior is really required and skip the extra wait if the driver does
> > not need the Beacon frame before association.
> > 
> > For most cases, I would also assume it should be possible to update the
> > PS settings after having received the first Beacon frame after
> > association, but if that is not enough, allowing the driver to request
> > mac80211 to wait with association sounds reasonable. I just don't want
> > to see additional 50 msec or so (or much worse if the AP is configured
> > with insanely long beacon interval) delay popping up with every
> > association by default..
> 
> Yeah that's a good point, I wondered about that too. I'll look into this
> in more detail and see if we can tell the driver about the DTIM period
> only with CONF_PS and enable that only after a beacon.
> 
I really like the idea of using CONF_PS which will not cause any delay
for association, plus the only STA need to know DTIM is the station in
power save mode.
  


      reply	other threads:[~2010-01-25 20:50 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21 21:39 [PATCH v3 1/1] mac80211: tell driver when dtim change detected wey-yi.w.guy
2010-01-22 19:03 ` Johannes Berg
2010-01-22 19:20   ` Luis R. Rodriguez
2010-01-22 19:46     ` Johannes Berg
2010-01-22 23:44       ` Luis R. Rodriguez
2010-01-22 23:45         ` Luis R. Rodriguez
2010-01-23  0:11         ` Guy, Wey-Yi
2010-01-23  0:23           ` Luis R. Rodriguez
2010-01-23  0:22             ` Guy, Wey-Yi
2010-01-23 12:46               ` Johannes Berg
2010-01-25 18:18                 ` Luis R. Rodriguez
2010-01-25 18:33                   ` Johannes Berg
2010-01-25 19:55                     ` Luis R. Rodriguez
2010-01-25 20:06                       ` Johannes Berg
2010-01-26  8:41                         ` Kalle Valo
2010-01-25 18:32         ` Jouni Malinen
2010-01-25 18:36           ` Johannes Berg
2010-01-25 18:38             ` Johannes Berg
2010-01-23  8:23   ` Kalle Valo
2010-01-25 18:35   ` Jouni Malinen
2010-01-25 20:11     ` Johannes Berg
2010-01-25 20:46       ` Guy, Wey-Yi [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=1264452419.11524.26.camel@wwguy-ubuntu \
    --to=wey-yi.w.guy@intel.com \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox