diff options
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r-- | net/wireless/trace.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h index 8e03c6382a8..f264c20a709 100644 --- a/net/wireless/trace.h +++ b/net/wireless/trace.h | |||
@@ -2157,6 +2157,29 @@ TRACE_EVENT(cfg80211_report_obss_beacon, | |||
2157 | WIPHY_PR_ARG, __entry->freq, __entry->sig_dbm) | 2157 | WIPHY_PR_ARG, __entry->freq, __entry->sig_dbm) |
2158 | ); | 2158 | ); |
2159 | 2159 | ||
2160 | TRACE_EVENT(cfg80211_tdls_oper_request, | ||
2161 | TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, const u8 *peer, | ||
2162 | enum nl80211_tdls_operation oper, u16 reason_code), | ||
2163 | TP_ARGS(wiphy, netdev, peer, oper, reason_code), | ||
2164 | TP_STRUCT__entry( | ||
2165 | WIPHY_ENTRY | ||
2166 | NETDEV_ENTRY | ||
2167 | MAC_ENTRY(peer) | ||
2168 | __field(enum nl80211_tdls_operation, oper) | ||
2169 | __field(u16, reason_code) | ||
2170 | ), | ||
2171 | TP_fast_assign( | ||
2172 | WIPHY_ASSIGN; | ||
2173 | NETDEV_ASSIGN; | ||
2174 | MAC_ASSIGN(peer, peer); | ||
2175 | __entry->oper = oper; | ||
2176 | __entry->reason_code = reason_code; | ||
2177 | ), | ||
2178 | TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", peer: " MAC_PR_FMT ", oper: %d, reason_code %u", | ||
2179 | WIPHY_PR_ARG, NETDEV_PR_ARG, MAC_PR_ARG(peer), __entry->oper, | ||
2180 | __entry->reason_code) | ||
2181 | ); | ||
2182 | |||
2160 | TRACE_EVENT(cfg80211_scan_done, | 2183 | TRACE_EVENT(cfg80211_scan_done, |
2161 | TP_PROTO(struct cfg80211_scan_request *request, bool aborted), | 2184 | TP_PROTO(struct cfg80211_scan_request *request, bool aborted), |
2162 | TP_ARGS(request, aborted), | 2185 | TP_ARGS(request, aborted), |