aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <samuel@sortiz.org>2008-07-04 04:49:31 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-07-14 14:30:06 -0400
commit49292d56352a6ab90d04c3448dd8b6106dfef2d6 (patch)
treed207a45ec1333831a82f2c9b2655b2a081ae889e /include
parent79d16385c7f287a33ea771c4dbe60ae43f791b49 (diff)
mac80211: power management wext hooks
This patch implements the power management routines wireless extensions for mac80211. For now we only support switching PS mode between on and off. Signed-off-by: Samuel Ortiz <sameo@openedhand.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 656442c6b1c3..9672a04c4f7b 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -407,11 +407,13 @@ struct ieee80211_rx_status {
407 * @IEEE80211_CONF_SHORT_SLOT_TIME: use 802.11g short slot time 407 * @IEEE80211_CONF_SHORT_SLOT_TIME: use 802.11g short slot time
408 * @IEEE80211_CONF_RADIOTAP: add radiotap header at receive time (if supported) 408 * @IEEE80211_CONF_RADIOTAP: add radiotap header at receive time (if supported)
409 * @IEEE80211_CONF_SUPPORT_HT_MODE: use 802.11n HT capabilities (if supported) 409 * @IEEE80211_CONF_SUPPORT_HT_MODE: use 802.11n HT capabilities (if supported)
410 * @IEEE80211_CONF_PS: Enable 802.11 power save mode
410 */ 411 */
411enum ieee80211_conf_flags { 412enum ieee80211_conf_flags {
412 IEEE80211_CONF_SHORT_SLOT_TIME = (1<<0), 413 IEEE80211_CONF_SHORT_SLOT_TIME = (1<<0),
413 IEEE80211_CONF_RADIOTAP = (1<<1), 414 IEEE80211_CONF_RADIOTAP = (1<<1),
414 IEEE80211_CONF_SUPPORT_HT_MODE = (1<<2), 415 IEEE80211_CONF_SUPPORT_HT_MODE = (1<<2),
416 IEEE80211_CONF_PS = (1<<3),
415}; 417};
416 418
417/** 419/**