diff options
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 8e461a02c6a8..263a9561eb26 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -825,6 +825,13 @@ DECLARE_EVENT_CLASS(sta_event, | |||
825 | ) | 825 | ) |
826 | ); | 826 | ); |
827 | 827 | ||
828 | DEFINE_EVENT(sta_event, drv_sta_statistics, | ||
829 | TP_PROTO(struct ieee80211_local *local, | ||
830 | struct ieee80211_sub_if_data *sdata, | ||
831 | struct ieee80211_sta *sta), | ||
832 | TP_ARGS(local, sdata, sta) | ||
833 | ); | ||
834 | |||
828 | DEFINE_EVENT(sta_event, drv_sta_add, | 835 | DEFINE_EVENT(sta_event, drv_sta_add, |
829 | TP_PROTO(struct ieee80211_local *local, | 836 | TP_PROTO(struct ieee80211_local *local, |
830 | struct ieee80211_sub_if_data *sdata, | 837 | struct ieee80211_sub_if_data *sdata, |
@@ -1329,32 +1336,6 @@ DEFINE_EVENT(release_evt, drv_allow_buffered_frames, | |||
1329 | TP_ARGS(local, sta, tids, num_frames, reason, more_data) | 1336 | TP_ARGS(local, sta, tids, num_frames, reason, more_data) |
1330 | ); | 1337 | ); |
1331 | 1338 | ||
1332 | TRACE_EVENT(drv_get_rssi, | ||
1333 | TP_PROTO(struct ieee80211_local *local, struct ieee80211_sta *sta, | ||
1334 | s8 rssi, int ret), | ||
1335 | |||
1336 | TP_ARGS(local, sta, rssi, ret), | ||
1337 | |||
1338 | TP_STRUCT__entry( | ||
1339 | LOCAL_ENTRY | ||
1340 | STA_ENTRY | ||
1341 | __field(s8, rssi) | ||
1342 | __field(int, ret) | ||
1343 | ), | ||
1344 | |||
1345 | TP_fast_assign( | ||
1346 | LOCAL_ASSIGN; | ||
1347 | STA_ASSIGN; | ||
1348 | __entry->rssi = rssi; | ||
1349 | __entry->ret = ret; | ||
1350 | ), | ||
1351 | |||
1352 | TP_printk( | ||
1353 | LOCAL_PR_FMT STA_PR_FMT " rssi:%d ret:%d", | ||
1354 | LOCAL_PR_ARG, STA_PR_ARG, __entry->rssi, __entry->ret | ||
1355 | ) | ||
1356 | ); | ||
1357 | |||
1358 | DEFINE_EVENT(local_sdata_evt, drv_mgd_prepare_tx, | 1339 | DEFINE_EVENT(local_sdata_evt, drv_mgd_prepare_tx, |
1359 | TP_PROTO(struct ieee80211_local *local, | 1340 | TP_PROTO(struct ieee80211_local *local, |
1360 | struct ieee80211_sub_if_data *sdata), | 1341 | struct ieee80211_sub_if_data *sdata), |