public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Charles Gordon <digigordo@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: How to implement power save mode
Date: Thu, 02 Apr 2009 03:51:57 +0200	[thread overview]
Message-ID: <1238637117.4141.3.camel@johannes.local> (raw)
In-Reply-To: <86201b3f0904011350o5b3fb48g811b57b3c4a1e602@mail.gmail.com> (sfid-20090401_225051_265370_58404EAB)

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

Charles,

> How is the IEEE80211_CONF_PS flag in the ieee80211_conf structure
> used?  Does it indicate when the low level driver should be turning
> the transceiver on and off, or is it just an indication of whether or
> not the driver should be running in power save mode?
> 
> If the low level driver is suppose to implement the bulk of power save
> mode, then how is it suppose to get information like how long the
> sleep periods are suppose to be?  Does mac80211 provide utility
> functions for parsing beacons to check for TIM and DTIM elements?
> 
> Any help you can provide would be appreciated.

You really need to read 802.11-2007, and understand how powersave mode
works. If you need software to check the beacons for (D)TIM, then you
can't really do powersave mode. You could hack around that if your
hardware provides an interrupt before the TBTT -- but that is very
fragile and I wouldn't recommend it. If your hardware design cannot
support powersave mode you'll just have to live without it.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2009-04-02  1:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 20:50 How to implement power save mode Charles Gordon
2009-04-02  1:51 ` Johannes Berg [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=1238637117.4141.3.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=digigordo@gmail.com \
    --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