aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-05 11:05:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-16 15:26:40 -0400
commitd1f5b7a34aa5ff703c4966ea2652d4212ac75940 (patch)
treeecc8f06625bf4e48334420586d7e16f9645aa1e4 /include/net/mac80211.h
parent7da7cc1d42d8ce02cca16df8c021e6d657f1f8fd (diff)
mac80211: allow drivers to request SM PS mode change
Sometimes drivers have more information than the stack about how their antennas/chains are used, and may require that the SM PS mode be changed. This could happen, for example, when detecting that the user disconnected an antenna. Thus this patch introduces API to allow drivers to request SM PS mode changes. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 3a3c26f647b7..871ed1de736a 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -2548,6 +2548,18 @@ void ieee80211_cqm_rssi_notify(struct ieee80211_vif *vif,
2548 */ 2548 */
2549void ieee80211_chswitch_done(struct ieee80211_vif *vif, bool success); 2549void ieee80211_chswitch_done(struct ieee80211_vif *vif, bool success);
2550 2550
2551/**
2552 * ieee80211_request_smps - request SM PS transition
2553 * @vif: &struct ieee80211_vif pointer from the add_interface callback.
2554 * @mode: new SM PS mode
2555 *
2556 * This allows the driver to request an SM PS transition in managed
2557 * mode. This is useful when the driver has more information than
2558 * the stack about possible interference, for example by bluetooth.
2559 */
2560void ieee80211_request_smps(struct ieee80211_vif *vif,
2561 enum ieee80211_smps_mode smps_mode);
2562
2551/* Rate control API */ 2563/* Rate control API */
2552 2564
2553/** 2565/**