linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	Marcel Holtmann <marcel@holtmann.org>,
	Kalle Valo <kalle.valo@iki.fi>,
	"Guy, Wey-Yi W" <wey-yi.w.guy@intel.com>,
	Arjan van de Ven <arjan@linux.intel.com>
Subject: Re: powersaving when interface is up but not associated
Date: Wed, 22 Apr 2009 16:44:08 -0400	[thread overview]
Message-ID: <20090422204408.GK3288@tuxdriver.com> (raw)
In-Reply-To: <1240431356.30082.18.camel@johannes.local>

On Wed, Apr 22, 2009 at 10:15:56PM +0200, Johannes Berg wrote:
> Hi!
> 
> Just had this idea -- when our networking interfaces are UP, but not
> actually doing anything, the RF chains consume power. This is, often,
> the default state, since you'll have your wifi on due to NM wanting to
> find APs, but not associated, for example when on the road. Sure, you
> can manually turn it off, but...
> 
> However, it doesn't seem necessary. When we are not associated to an AP,
> and there are no extra interfaces in mac80211 active like monitor
> interfaces, it seems that we could very well turn off the radio while
> not scanning. It would be entirely trivial for mac80211 to do this,
> probably a 20 line patch or so (need some bookkeeping about why radio is
> disabled so it's not just four lines).

Makes sense to me...

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2009-04-22 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 20:15 powersaving when interface is up but not associated Johannes Berg
2009-04-22 20:44 ` John W. Linville [this message]
2009-04-23  8:00 ` Kalle Valo

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=20090422204408.GK3288@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=arjan@linux.intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=kalle.valo@iki.fi \
    --cc=linux-wireless@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=wey-yi.w.guy@intel.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).