diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-11-26 12:42:02 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-26 20:56:42 +0100 |
commit | 98f0334263f177dd22ca7c685cde04b47cc57b05 (patch) | |
tree | b91346fbd400ceb756d02aacb4f050398c9c7a38 /net/mac80211/trace.h | |
parent | 5b97f49d653d366d8cb03cab40f8c45eb59dc70c (diff) | |
download | linux-98f0334263f177dd22ca7c685cde04b47cc57b05.tar.bz2 |
cfg80211: clean up beacon loss CQM event
Having it as a sub-event for RSSI thresholds is very ugly,
but luckily no userspace actually uses the events yet.
Move the event to its own function call internally and to
its own event attribute in nl80211.
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 85ccfbe863db..8e461a02c6a8 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h @@ -1829,6 +1829,12 @@ TRACE_EVENT(api_cqm_rssi_notify, ) ); +DEFINE_EVENT(local_sdata_evt, api_cqm_beacon_loss_notify, + TP_PROTO(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata), + TP_ARGS(local, sdata) +); + TRACE_EVENT(api_scan_completed, TP_PROTO(struct ieee80211_local *local, bool aborted), |