diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-05-04 09:37:29 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-05 14:59:20 -0400 |
commit | eecc48000afe2ca6da22122d553b7cad294e42fc (patch) | |
tree | ade8a18351be5ca63b14d24f3f4db47909486fba /net/mac80211/driver-trace.h | |
parent | ff1b6e69ad4f31fb3c9c6da2665655f2e798dd70 (diff) |
mac80211: add basic support for WoWLAN
This adds basic support for the new WoWLAN
configuration in mac80211. The behaviour is
completely offloaded to the driver though,
with two new callbacks (suspend/resume).
Options for the driver include a complete
reconfiguration after wakeup, and exposing
all the triggers it wants to support.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r-- | net/mac80211/driver-trace.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index 191e834ec46b..11e1ea5111ea 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h | |||
@@ -108,6 +108,16 @@ DEFINE_EVENT(local_only_evt, drv_start, | |||
108 | TP_ARGS(local) | 108 | TP_ARGS(local) |
109 | ); | 109 | ); |
110 | 110 | ||
111 | DEFINE_EVENT(local_only_evt, drv_suspend, | ||
112 | TP_PROTO(struct ieee80211_local *local), | ||
113 | TP_ARGS(local) | ||
114 | ); | ||
115 | |||
116 | DEFINE_EVENT(local_only_evt, drv_resume, | ||
117 | TP_PROTO(struct ieee80211_local *local), | ||
118 | TP_ARGS(local) | ||
119 | ); | ||
120 | |||
111 | DEFINE_EVENT(local_only_evt, drv_stop, | 121 | DEFINE_EVENT(local_only_evt, drv_stop, |
112 | TP_PROTO(struct ieee80211_local *local), | 122 | TP_PROTO(struct ieee80211_local *local), |
113 | TP_ARGS(local) | 123 | TP_ARGS(local) |