aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-22 06:34:29 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-31 08:00:21 -0500
commitcd8f7cb4e6dfa4ea08fc250a814240b883ef7911 (patch)
tree2bcb8f04f01ee9768e5524799b0d429e51fb583d /include/net/mac80211.h
parent3b144658bc7be5f7fa68d13ba24afb4c24489965 (diff)
cfg80211/mac80211: support reporting wakeup reason
When waking up from WoWLAN, it is useful to know what triggered the wakeup. Support reporting the wakeup reason(s) in cfg80211 (and a pass-through in mac80211) to allow userspace to know. Signed-off-by: Johannes Berg <johannes.berg@intel.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 21831ee57e3c..7a27e00c513a 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -4206,4 +4206,16 @@ void ieee80211_disable_rssi_reports(struct ieee80211_vif *vif);
4206 */ 4206 */
4207int ieee80211_ave_rssi(struct ieee80211_vif *vif); 4207int ieee80211_ave_rssi(struct ieee80211_vif *vif);
4208 4208
4209/**
4210 * ieee80211_report_wowlan_wakeup - report WoWLAN wakeup
4211 * @vif: virtual interface
4212 * @wakeup: wakeup reason(s)
4213 * @gfp: allocation flags
4214 *
4215 * See cfg80211_report_wowlan_wakeup().
4216 */
4217void ieee80211_report_wowlan_wakeup(struct ieee80211_vif *vif,
4218 struct cfg80211_wowlan_wakeup *wakeup,
4219 gfp_t gfp);
4220
4209#endif /* MAC80211_H */ 4221#endif /* MAC80211_H */