aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/trace.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-10-16 11:24:47 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-11-09 11:20:34 +0100
commitcee7013be9b71082c7ea63c46850157aaa1bf4b1 (patch)
treeecc0cd1431ff3b615d1d6d3f0500b0e7f36484c2 /net/mac80211/trace.h
parentcfg80211: add peer measurement with FTM initiator API (diff)
downloadlinux-dev-cee7013be9b71082c7ea63c46850157aaa1bf4b1.tar.xz
linux-dev-cee7013be9b71082c7ea63c46850157aaa1bf4b1.zip
mac80211: allow drivers to use peer measurement API
There's nothing much for mac80211 to do, so only pass through the requests with minimal checks and tracing. The driver must call cfg80211's results APIs. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r--net/mac80211/trace.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index a152263478dc..35ea0dcb55e6 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -1882,6 +1882,18 @@ TRACE_EVENT(drv_del_nan_func,
)
);
+DEFINE_EVENT(local_sdata_evt, drv_start_pmsr,
+ TP_PROTO(struct ieee80211_local *local,
+ struct ieee80211_sub_if_data *sdata),
+ TP_ARGS(local, sdata)
+);
+
+DEFINE_EVENT(local_sdata_evt, drv_abort_pmsr,
+ TP_PROTO(struct ieee80211_local *local,
+ struct ieee80211_sub_if_data *sdata),
+ TP_ARGS(local, sdata)
+);
+
/*
* Tracing for API calls that drivers call.
*/