public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@nokia.com>
To: linux-wireless@vger.kernel.org
Subject: [RFC PATCH 1/2] iw: update nl80211.h to include power save commands
Date: Tue, 16 Feb 2010 22:13:09 +0200	[thread overview]
Message-ID: <20100216201309.25291.8789.stgit@tikku> (raw)
In-Reply-To: <20100216201026.25148.40799.stgit@tikku>


---
 nl80211.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/nl80211.h b/nl80211.h
index 127a730..1567175 100644
--- a/nl80211.h
+++ b/nl80211.h
@@ -387,6 +387,9 @@ enum nl80211_commands {
 
 	NL80211_CMD_SET_TX_BITRATE_MASK,
 
+	NL80211_CMD_SET_POWER_SAVE,
+	NL80211_CMD_GET_POWER_SAVE,
+
 	/* add new commands above here */
 
 	/* used to define NL80211_CMD_MAX below */
@@ -798,6 +801,8 @@ enum nl80211_attrs {
 
 	NL80211_ATTR_TX_RATES,
 
+	NL80211_ATTR_PS_STATE,
+
 	/* add attributes here, update the policy in nl80211.c */
 
 	__NL80211_ATTR_AFTER_LAST,
@@ -1534,4 +1539,9 @@ enum nl80211_band {
 	NL80211_BAND_5GHZ,
 };
 
+enum nl80211_ps_state {
+	NL80211_PS_DISABLED,
+	NL80211_PS_ENABLED,
+};
+
 #endif /* __LINUX_NL80211_H */


  reply	other threads:[~2010-02-16 20:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-16 20:10 [RFC PATCH] nl80211: add power save commands Kalle Valo
2010-02-16 20:13 ` Kalle Valo [this message]
2010-02-16 20:13 ` [RFC PATCH 2/2] iw: add set/get power_save commands Kalle Valo
2010-02-16 20:19 ` [RFC PATCH] nl80211: add power save commands Luis R. Rodriguez
2010-02-16 20:33   ` Kalle Valo
2010-02-17  7:34 ` Holger Schurig
2010-02-17  8:33   ` Johannes Berg
2010-02-17 13:21     ` Holger Schurig
2010-02-17 13:27       ` Johannes Berg
2010-02-17 13:36         ` Johannes Berg
2010-02-17 13:56           ` Holger Schurig
2010-02-17 14:44             ` Johannes Berg
2010-02-17  9:00   ` Kalle Valo
2010-02-17  8:47 ` Johannes Berg
2010-02-17  9:06   ` 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=20100216201309.25291.8789.stgit@tikku \
    --to=kalle.valo@nokia.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