From: Kalle Valo <kalle.valo@nokia.com>
To: linux-wireless@vger.kernel.org
Subject: [PATCH v2 2/3] iw: update nl80211.h to include power save commands
Date: Wed, 17 Feb 2010 18:05:47 +0200 [thread overview]
Message-ID: <20100217160547.4598.91442.stgit@tikku> (raw)
In-Reply-To: <20100217155810.4534.69338.stgit@tikku>
---
nl80211.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/nl80211.h b/nl80211.h
index 8e6384f..28ba20f 100644
--- a/nl80211.h
+++ b/nl80211.h
@@ -416,6 +416,9 @@ enum nl80211_commands {
NL80211_CMD_ACTION,
NL80211_CMD_ACTION_TX_STATUS,
+ NL80211_CMD_SET_POWER_SAVE,
+ NL80211_CMD_GET_POWER_SAVE,
+
/* add new commands above here */
/* used to define NL80211_CMD_MAX below */
@@ -837,6 +840,8 @@ enum nl80211_attrs {
NL80211_ATTR_ACK,
+ NL80211_ATTR_PS_STATE,
+
/* add attributes here, update the policy in nl80211.c */
__NL80211_ATTR_AFTER_LAST,
@@ -1573,4 +1578,9 @@ enum nl80211_band {
NL80211_BAND_5GHZ,
};
+enum nl80211_ps_state {
+ NL80211_PS_DISABLED,
+ NL80211_PS_ENABLED,
+};
+
#endif /* __LINUX_NL80211_H */
next prev parent reply other threads:[~2010-02-17 16:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 15:58 [PATCH v2] nl80211: add power save commands Kalle Valo
2010-02-17 16:05 ` [PATCH v2 1/3] iw: update nl80211.h to include the new action commands Kalle Valo
2010-02-17 16:05 ` Kalle Valo [this message]
2010-02-17 16:05 ` [PATCH v2 3/3] iw: add set/get power_save commands Kalle Valo
2010-02-17 22:32 ` [PATCH v2] nl80211: add power save commands Luis R. Rodriguez
2010-02-18 8:11 ` Johannes Berg
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=20100217160547.4598.91442.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;
as well as URLs for NNTP newsgroup(s).