diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-10-08 02:48:38 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-10-09 05:30:09 -0400 |
commit | f1d65583bc5bd43ace8abb9d4f4d9e8da407f708 (patch) | |
tree | 7c51dcf4057ab096c49700567162ceeb7458e226 /net/mac80211/trace.h | |
parent | 6d027bcc8a4e2518ae825b0ff3dd069ab1abfe96 (diff) |
mac80211: add post_channel_switch driver operation
As a counterpart to the pre_channel_switch operation, add a
post_channel_switch operation. This allows the drivers to go back to
a normal configuration after the channel switch is completed.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 30476d2c7302..ca0e12dd23c0 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -2141,6 +2141,12 @@ TRACE_EVENT(drv_pre_channel_switch, | |||
2141 | ) | 2141 | ) |
2142 | ); | 2142 | ); |
2143 | 2143 | ||
2144 | DEFINE_EVENT(local_sdata_evt, drv_post_channel_switch, | ||
2145 | TP_PROTO(struct ieee80211_local *local, | ||
2146 | struct ieee80211_sub_if_data *sdata), | ||
2147 | TP_ARGS(local, sdata) | ||
2148 | ); | ||
2149 | |||
2144 | 2150 | ||
2145 | #ifdef CONFIG_MAC80211_MESSAGE_TRACING | 2151 | #ifdef CONFIG_MAC80211_MESSAGE_TRACING |
2146 | #undef TRACE_SYSTEM | 2152 | #undef TRACE_SYSTEM |