Linux wireless drivers development
 help / color / mirror / Atom feed
From: Andrew Lutomirski <luto@mit.edu>
To: "Gábor Stefanik" <netrolller.3d@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: 2.6.31 regression: iwlagn power_level no longer works
Date: Tue, 1 Sep 2009 17:49:32 -0400	[thread overview]
Message-ID: <cb0375e10909011449j440ddadcm6387ca377ade31a3@mail.gmail.com> (raw)
In-Reply-To: <69e28c910909011439g6eb94e33m3bbfc2e2bbcf47e9@mail.gmail.com>

2009/9/1 Gábor Stefanik <netrolller.3d@gmail.com>:
> On Tue, Sep 1, 2009 at 11:26 PM, Andy Lutomirski<luto@mit.edu> wrote:
>> On 2.6.30.5, I can echo 1 >/sys/class/net/wlan0/device/power_level, and the
>> value changes to 1, my wakeup rate goes way down, and my power consumption
>> (as measured by powertop) drops noticeably.
>>
>> On 2.6.31-rc7, I can still echo 1 to that file, but nothing happens, and the
>> value I get if I 'cat power_level' remains at 0.
>>
>> My kernel configs are as identical as 'make oldconfig' knows how to make
>> them.
>>
>> Any ideas?
>
> Power saving has been disabled temporarily in recent versions, as it
> caused too many problems. AFAIK either there is either a modparam to
> re-enable it or you can re-enable it using iwconfig (it is simply off
> by default). There was talk on the mailing list whether to use a
> modparam or iwconfig - I don't remember what the outcome was.

I can't find it in modinfo on iwlcore, iwlagn, cfg80211, or mac80211.
And iwconfig power <n> fails for all the <n> I tried.

If it's intentionally disabled, shouldn't writes to the file fail?  A
printk explaining what's going on might also be nice.  (I bet I won't
be the only one to report a regression of 2.6.31 is released like
this.)

--Andy

>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
>

      reply	other threads:[~2009-09-01 21:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-01 21:26 2.6.31 regression: iwlagn power_level no longer works Andy Lutomirski
2009-09-01 21:39 ` Gábor Stefanik
2009-09-01 21:49   ` Andrew Lutomirski [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=cb0375e10909011449j440ddadcm6387ca377ade31a3@mail.gmail.com \
    --to=luto@mit.edu \
    --cc=linux-wireless@vger.kernel.org \
    --cc=netrolller.3d@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