diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-10-17 14:02:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-17 14:02:07 -0400 |
commit | 9f96da4dd2ccf685b506a21104cb13b1aadd907a (patch) | |
tree | 5d9eff61123f096e2434a9d36e6fdbd4cc5c6292 /net/mac80211/trace.h | |
parent | ccdbb6e96beca362db876d820ac1e560ff6d9579 (diff) | |
parent | b6b561c31d51db3dec0cb55412a5d7a1a2397521 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'net/mac80211/trace.h')
-rw-r--r-- | net/mac80211/trace.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 3fb9dd6d02fc..d4cee98533fd 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -1475,6 +1475,41 @@ DEFINE_EVENT(local_sdata_evt, drv_ipv6_addr_change, | |||
1475 | ); | 1475 | ); |
1476 | #endif | 1476 | #endif |
1477 | 1477 | ||
1478 | TRACE_EVENT(drv_join_ibss, | ||
1479 | TP_PROTO(struct ieee80211_local *local, | ||
1480 | struct ieee80211_sub_if_data *sdata, | ||
1481 | struct ieee80211_bss_conf *info), | ||
1482 | |||
1483 | TP_ARGS(local, sdata, info), | ||
1484 | |||
1485 | TP_STRUCT__entry( | ||
1486 | LOCAL_ENTRY | ||
1487 | VIF_ENTRY | ||
1488 | __field(u8, dtimper) | ||
1489 | __field(u16, bcnint) | ||
1490 | __dynamic_array(u8, ssid, info->ssid_len); | ||
1491 | ), | ||
1492 | |||
1493 | TP_fast_assign( | ||
1494 | LOCAL_ASSIGN; | ||
1495 | VIF_ASSIGN; | ||
1496 | __entry->dtimper = info->dtim_period; | ||
1497 | __entry->bcnint = info->beacon_int; | ||
1498 | memcpy(__get_dynamic_array(ssid), info->ssid, info->ssid_len); | ||
1499 | ), | ||
1500 | |||
1501 | TP_printk( | ||
1502 | LOCAL_PR_FMT VIF_PR_FMT, | ||
1503 | LOCAL_PR_ARG, VIF_PR_ARG | ||
1504 | ) | ||
1505 | ); | ||
1506 | |||
1507 | DEFINE_EVENT(local_sdata_evt, drv_leave_ibss, | ||
1508 | TP_PROTO(struct ieee80211_local *local, | ||
1509 | struct ieee80211_sub_if_data *sdata), | ||
1510 | TP_ARGS(local, sdata) | ||
1511 | ); | ||
1512 | |||
1478 | /* | 1513 | /* |
1479 | * Tracing for API calls that drivers call. | 1514 | * Tracing for API calls that drivers call. |
1480 | */ | 1515 | */ |