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>
This commit is contained in:
Johannes Berg
2018-10-16 11:24:47 +02:00
parent 9bb7e0f24e
commit cee7013be9
4 changed files with 75 additions and 0 deletions

View File

@@ -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.
*/