All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless <linux-wireless@vger.kernel.org>
Cc: 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: powersaving when interface is up but not associated
Date: Wed, 22 Apr 2009 22:15:56 +0200	[thread overview]
Message-ID: <1240431356.30082.18.camel@johannes.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

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).

Thoughts?

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 20:15 Johannes Berg [this message]
2009-04-22 20:44 ` powersaving when interface is up but not associated John W. Linville
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=1240431356.30082.18.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=arjan@linux.intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.