linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Jorge Miguel <jmiggal@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Setting my WiFi adhoc connection in power save mode
Date: Fri, 13 May 2011 13:50:31 +0200	[thread overview]
Message-ID: <20110513115030.GB5516@redhat.com> (raw)
In-Reply-To: <BANLkTi=pupNh=LMO-OEK+BbfNkpJz0nUkw@mail.gmail.com>

On Thu, May 12, 2011 at 07:02:23PM +0200, Jorge Miguel wrote:
> I am trying to set power save mode in my Intel 3945ABG wireless card
> under Ubuntu 10.10 - Maverick Meerkat and iwl3945 driver.
> 
> I need to set power save mode. In order to do so I tried to change
> period and timeout options of iwconfig command so that beacon period
> and ATIM window are changed.
> 
> For instance
> :~$ sudo iwconfig wlan0 power period 2
>     Error for wireless request "Set Power Management" (8B2C):
>     SET failed on device wlan0 ; Invalid argument.
> 
> As you can see I get an error. Is it because it is not supported in my
> card? Is there any way to set beacon interval and ATIM window
> parameters?

This should work until you do this in managed mode, power save is only a
infrastructure network feature. Particularly this will not work on IBSS
network  (ad-hoc mode).

Also in kernel 2.6.39, after driver split into iwlegacy, power save
is marked as not supported by driver. I wonder it was deliberate action
from Intel developers, or just IEEE80211_HW_SUPPORTS_PS is missed by
mistake. I'm going to look at this.

Stanislaw

  reply	other threads:[~2011-05-13 11:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 17:02 Setting my WiFi adhoc connection in power save mode Jorge Miguel
2011-05-13 11:50 ` Stanislaw Gruszka [this message]
2011-05-13 11:55   ` Johannes Berg
2011-05-13 12:22     ` Stanislaw Gruszka
2011-05-13 12:27       ` Johannes Berg
2011-05-13 12:39         ` Stanislaw Gruszka
2011-05-13 12:45           ` Johannes Berg
2011-05-13 21:15             ` Jorge Miguel

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=20110513115030.GB5516@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=jmiggal@gmail.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;
as well as URLs for NNTP newsgroup(s).