diff options
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r-- | net/mac80211/driver-trace.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index 0ea258123b8e..fefa6e6b01bc 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h | |||
@@ -331,26 +331,29 @@ TRACE_EVENT(drv_set_key, | |||
331 | 331 | ||
332 | TRACE_EVENT(drv_update_tkip_key, | 332 | TRACE_EVENT(drv_update_tkip_key, |
333 | TP_PROTO(struct ieee80211_local *local, | 333 | TP_PROTO(struct ieee80211_local *local, |
334 | struct ieee80211_sub_if_data *sdata, | ||
334 | struct ieee80211_key_conf *conf, | 335 | struct ieee80211_key_conf *conf, |
335 | const u8 *address, u32 iv32), | 336 | struct ieee80211_sta *sta, u32 iv32), |
336 | 337 | ||
337 | TP_ARGS(local, conf, address, iv32), | 338 | TP_ARGS(local, sdata, conf, sta, iv32), |
338 | 339 | ||
339 | TP_STRUCT__entry( | 340 | TP_STRUCT__entry( |
340 | LOCAL_ENTRY | 341 | LOCAL_ENTRY |
341 | __array(u8, addr, 6) | 342 | VIF_ENTRY |
343 | STA_ENTRY | ||
342 | __field(u32, iv32) | 344 | __field(u32, iv32) |
343 | ), | 345 | ), |
344 | 346 | ||
345 | TP_fast_assign( | 347 | TP_fast_assign( |
346 | LOCAL_ASSIGN; | 348 | LOCAL_ASSIGN; |
347 | memcpy(__entry->addr, address, 6); | 349 | VIF_ASSIGN; |
350 | STA_ASSIGN; | ||
348 | __entry->iv32 = iv32; | 351 | __entry->iv32 = iv32; |
349 | ), | 352 | ), |
350 | 353 | ||
351 | TP_printk( | 354 | TP_printk( |
352 | LOCAL_PR_FMT " addr:%pM iv32:%#x", | 355 | LOCAL_PR_FMT VIF_PR_FMT STA_PR_FMT " iv32:%#x", |
353 | LOCAL_PR_ARG, __entry->addr, __entry->iv32 | 356 | LOCAL_PR_ARG,VIF_PR_ARG,STA_PR_ARG, __entry->iv32 |
354 | ) | 357 | ) |
355 | ); | 358 | ); |
356 | 359 | ||