From: Seth Forshee <seth.forshee@canonical.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC] Fixes for problems with off-channel powersave
Date: Wed, 16 Jan 2013 23:34:13 -0600 [thread overview]
Message-ID: <20130117053413.GB31449@thinkpad-t410> (raw)
In-Reply-To: <1358379163.15012.69.camel@jlt4.sipsolutions.net>
On Thu, Jan 17, 2013 at 12:32:43AM +0100, Johannes Berg wrote:
> On Wed, 2013-01-09 at 07:40 -0600, Seth Forshee wrote:
>
> > > It turns out that fixing problem #1 (i.e. patch 2) probably isn't
> > > necessary with the other changes, as no frames should be sent while
> > > off-channel PS is enabled. Does this still seem like a problem worth
> > > fixing?
> >
> > This is incorrect. We actually do need patch 2 for some hardware. I
> > forgot that when I was testing with BCM43224 I found that PM gets
> > actively set or cleared based on the device configuration. It's
> > impossible to enable PS at the AP without informing the driver.
>
> Hm, don't understand. If we're not sending any packets to the AP, why
> does this matter?
>
> Or are you saying it wants nullfunc frames generated in software, but
> then changes the PM bit in them?
Exactly. At least that's what it looks like to me. I lack detailed
knowledge of how to handle powersave on Broadcom, but I do know that the
PM bit is under the control of the MCTL_HPS field. Experimentally it
appears that the hardware actively clears PM when this field is 0 and
actively sets it when this field is 1, for all frames including
nullfuncs.
Seth
next prev parent reply other threads:[~2013-01-17 5:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 18:10 [RFC] Fixes for problems with off-channel powersave Seth Forshee
2013-01-08 18:10 ` [RFC 1/3] mac80211: Add flushes to ensure off-channel PS is enabled during sw scans Seth Forshee
2013-01-16 23:34 ` Johannes Berg
2013-01-17 5:34 ` Seth Forshee
2013-01-08 18:10 ` [RFC 2/3] mac80211: Convey information about off-channel powersave to drivers Seth Forshee
2013-01-08 18:10 ` [RFC 3/3] mac80211: Disable off-channel powersave when software scans are suspended Seth Forshee
2013-01-09 11:03 ` Stanislaw Gruszka
2013-01-09 13:27 ` Seth Forshee
2013-01-09 13:40 ` [RFC] Fixes for problems with off-channel powersave Seth Forshee
2013-01-16 23:32 ` Johannes Berg
2013-01-17 5:34 ` Seth Forshee [this message]
2013-01-25 21:36 ` Johannes Berg
2013-01-25 22:11 ` Adrian Chadd
2013-01-16 23:31 ` Johannes Berg
2013-01-17 5:32 ` Seth Forshee
2013-01-17 0:29 ` Johannes Berg
2013-01-17 5:35 ` Seth Forshee
2013-01-25 21:34 ` Johannes Berg
2013-01-25 22:16 ` Seth Forshee
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=20130117053413.GB31449@thinkpad-t410 \
--to=seth.forshee@canonical.com \
--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