diff options
author | Pradeep Kumar Chitrapu <pradeepc@codeaurora.org> | 2018-10-03 20:19:20 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-10-12 12:46:09 +0200 |
commit | bc847970f43281cb07c9f7d0897ee08cd1e08cf3 (patch) | |
tree | d9e0f3b2a0463ef7760e2ae574a9de686c935243 /net/mac80211/trace.h | |
parent | efb543e61cc3a2e75ffbe52f9b4cfcb850d812fd (diff) | |
download | linux-bc847970f43281cb07c9f7d0897ee08cd1e08cf3.tar.gz linux-bc847970f43281cb07c9f7d0897ee08cd1e08cf3.tar.bz2 linux-bc847970f43281cb07c9f7d0897ee08cd1e08cf3.zip |
mac80211: support FTM responder configuration/statistics
New bss param ftm_responder is used to notify the driver to
enable fine timing request (FTM) responder role in AP mode.
Plumb the new cfg80211 API for FTM responder statistics through to
the driver API in mac80211.
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 0ab69a1964f8..588c51a67c89 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h @@ -2600,6 +2600,29 @@ TRACE_EVENT(drv_wake_tx_queue, ) ); +TRACE_EVENT(drv_get_ftm_responder_stats, + TP_PROTO(struct ieee80211_local *local, + struct ieee80211_sub_if_data *sdata, + struct cfg80211_ftm_responder_stats *ftm_stats), + + TP_ARGS(local, sdata, ftm_stats), + + TP_STRUCT__entry( + LOCAL_ENTRY + VIF_ENTRY + ), + + TP_fast_assign( + LOCAL_ASSIGN; + VIF_ASSIGN; + ), + + TP_printk( + LOCAL_PR_FMT VIF_PR_FMT, + LOCAL_PR_ARG, VIF_PR_ARG + ) +); + #endif /* !__MAC80211_DRIVER_TRACE || TRACE_HEADER_MULTI_READ */ #undef TRACE_INCLUDE_PATH |