From: Michael Buesch <mb@bu3sch.de>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: kvalo@adurom.com, Johannes Berg <johannes@sipsolutions.net>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: Powersave broken on p54
Date: Mon, 07 Mar 2011 18:22:00 +0100 [thread overview]
Message-ID: <1299518520.5665.16.camel@marge> (raw)
In-Reply-To: <201103021918.30528.chunkeey@googlemail.com> (sfid-20110302_191848_281080_21A09A7E)
On Wed, 2011-03-02 at 19:18 +0100, Christian Lamparter wrote:
> Not sure, don't have any hardware to play with ATM.
> But maybe the attached "hack" helps a bit?
> ---
> diff --git a/drivers/net/wireless/p54/fwio.c b/drivers/net/wireless/p54/fwio.c
> index 2fab7d2..df56a82 100644
> --- a/drivers/net/wireless/p54/fwio.c
> +++ b/drivers/net/wireless/p54/fwio.c
> @@ -615,8 +615,8 @@ int p54_set_ps(struct p54_common *priv)
> psm->mode = cpu_to_le16(mode);
> psm->aid = cpu_to_le16(priv->aid);
> for (i = 0; i < ARRAY_SIZE(psm->intervals); i++) {
> - psm->intervals[i].interval =
> - cpu_to_le16(priv->hw->conf.listen_interval);
> + psm->intervals[i].interval = cpu_to_le16(1);
> +// cpu_to_le16(priv->hw->conf.listen_interval);
> psm->intervals[i].periods = cpu_to_le16(1);
> }
This doesn't help.
--
Greetings, Michael.
next prev parent reply other threads:[~2011-03-07 17:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 18:12 Powersave broken on p54 Michael Büsch
2011-03-02 17:13 ` Christian Lamparter
2011-03-02 17:17 ` Michael Buesch
2011-03-02 18:18 ` Christian Lamparter
2011-03-04 16:49 ` Michael Buesch
2011-03-07 17:22 ` Michael Buesch [this message]
2011-03-08 7:43 ` Kalle Valo
2011-03-04 7:03 ` Luciano Coelho
2011-03-04 17:11 ` Luciano Coelho
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=1299518520.5665.16.camel@marge \
--to=mb@bu3sch.de \
--cc=chunkeey@googlemail.com \
--cc=johannes@sipsolutions.net \
--cc=kvalo@adurom.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