From: Kalle Valo <kalle.valo@nokia.com>
To: "Vivek Natarajan" <vivek.natraj@gmail.com>
Cc: "Luis R. Rodriguez" <lrodriguez@atheros.com>,
"linux-wireless\@vger.kernel.org"
<linux-wireless@vger.kernel.org>
Subject: Re: [RFC 2/2] mac80211: implement dynamic power save
Date: Tue, 11 Nov 2008 15:09:07 +0200 [thread overview]
Message-ID: <87fxlybea4.fsf@nokia.com> (raw)
In-Reply-To: <8e92b4100811110218q2b45f70amdba39159ef9799bd@mail.gmail.com> (ext Vivek Natarajan's message of "Tue\, 11 Nov 2008 15\:48\:24 +0530")
Vivek Natarajan <vivek.natraj@gmail.com> writes:
> Currently there is no support for powersave in ath9k( Not sure about
> ath5k though). There is a code level implementation for the following
> although we do not enable them:
> Support for network sleep mode:
> If a request for network sleep comes from higher layers, the
> sleep duration having been configured based on beacon interval and the
> TIM offset in the beacon based on AID is all configured, then the
> chip will happily go to sleep and wake up for the beacon to read TIM.
> But the code for calulating TIM offset, reading TIM, to decide the power
> level based on TIM, extending awake time based on DTIM needs to be
> done.
Thanks, this was useful. Is the interface for these power save
commands available somewhere? I would like to take a look so that I
understand what kind of paremeters the driver can set.
> Since these are common to all drivers, these may get into mac80211(
> Not sure if it is already implemented). Please correct me if I am
> wrong here.
Yes, if both stlc45xx and ath5/9k need these it would make sense to
add support to mac80211.
> I believe all these are done in the firmware for Intel since Tomas mentioned
> sometime back that all the power save features works in iwlwifi.
Yes. I have seen other hardware as well which have the power save
support in firmware.
>> Actually there are three types of power save now:
>> AP mode buffering for clients in power save, the normal ("static")
>> power save for client mode and the dynamic version. So this will get
>> very confusing.
>
> I have come across this dynamic power save(Switch off radio when there
> is no RX/Tx for sometime) and also buffering in AP mode. I would be happy to
> know about the static power save.
The term "static power save" is just my own invention and it means
opposite of dynamic power save. For me static power save means that
the chip sleeps as much as possible, for example transmits a frame and
goes back to sleep immediately after receiving the ack.
Sorry for bad wording, all the power save terms should be standardised :)
--
Kalle Valo
next prev parent reply other threads:[~2008-11-11 13:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-09 15:43 [RFC] mac80211 dynamic powersave Kalle Valo
2008-11-09 15:43 ` [RFC 1/2] mac80211: enable IEEE80211_CONF_PS only when associated Kalle Valo
2008-11-10 9:28 ` Johannes Berg
2008-11-10 9:36 ` Kalle Valo
2008-11-09 15:43 ` [RFC 2/2] mac80211: implement dynamic power save Kalle Valo
2008-11-10 9:36 ` Johannes Berg
2008-11-10 9:49 ` Kalle Valo
2008-11-10 9:53 ` Johannes Berg
2008-11-10 20:14 ` Luis R. Rodriguez
2008-11-11 7:14 ` Kalle Valo
2008-11-11 10:18 ` Vivek Natarajan
2008-11-11 13:09 ` Kalle Valo [this message]
2008-11-11 16:40 ` Nick Kossifidis
2008-11-11 4:32 ` [RFC] mac80211 dynamic powersave Vivek Natarajan
2008-11-11 10:38 ` Johannes Berg
2008-11-12 6:17 ` Vivek Natarajan
2008-11-12 17:33 ` Luis R. Rodriguez
[not found] ` <8e92b4100811102018q4a13568l625abf2c59dca253@mail.gmail.com>
2008-11-11 12:29 ` Kalle Valo
2008-11-11 12:57 ` Johannes Berg
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=87fxlybea4.fsf@nokia.com \
--to=kalle.valo@nokia.com \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.com \
--cc=vivek.natraj@gmail.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 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).