linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Rami Rosen <ramirose@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Linux Kernel Wireless stack presentation
Date: Tue, 25 Aug 2009 12:37:23 +0200	[thread overview]
Message-ID: <1251196643.10667.4.camel@johannes.local> (raw)
In-Reply-To: <eb3ff54b0908250329s3e1a4715u27c82512fff520d5@mail.gmail.com>

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

Hi,

> > iwconfig wlan0 power timeout 0 == PS-poll,
> 
> I am not sure I fully understand what you mean here by
> "iwconfig wlan0 power timeout 0 == PS-poll". As far as I understand,
> "iwconfig wlan0 power timeout 0" invokes ieee80211_change_ps(); this method
> notifies the driver about disabling PS (by
> ieee80211_hw_config(...IEEE80211_CONF_CHANGE_PS))
> and sets the flags to have ~IEEE80211_CONF_PS; It also cancells the
> dynamic_ps_enable_work work_queue thread. But what PS-POLL has to do with it ?
> I am not sure I understand how PSPOLL is relevant here.

No,

	iwconfig wlan0 power off

goes into the disable PS case.

	iwconfig wlan0 power timeout 0

sets the timeout to zero and power management on. And when the timeout
is 0 we use ps-poll.

johannes

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

      reply	other threads:[~2009-08-25 10:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20  7:02 Linux Kernel Wireless stack presentation Rami Rosen
2009-08-20  7:12 ` Luis R. Rodriguez
2009-08-20  7:22   ` Rami Rosen
2009-08-20  7:31     ` Luis R. Rodriguez
2009-08-20  9:22 ` Johannes Berg
2009-08-20 10:14   ` Rami Rosen
2009-08-25 10:29   ` Rami Rosen
2009-08-25 10:37     ` 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=1251196643.10667.4.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=ramirose@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).