diff options
-rw-r--r-- | net/mac80211/trace.h | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h index 629364705f7b..0638541b625f 100644 --- a/net/mac80211/trace.h +++ b/net/mac80211/trace.h | |||
@@ -315,20 +315,33 @@ TRACE_EVENT(drv_bss_info_changed, | |||
315 | TP_STRUCT__entry( | 315 | TP_STRUCT__entry( |
316 | LOCAL_ENTRY | 316 | LOCAL_ENTRY |
317 | VIF_ENTRY | 317 | VIF_ENTRY |
318 | __field(u32, changed) | ||
318 | __field(bool, assoc) | 319 | __field(bool, assoc) |
320 | __field(bool, ibss_joined) | ||
321 | __field(bool, ibss_creator) | ||
319 | __field(u16, aid) | 322 | __field(u16, aid) |
320 | __field(bool, cts) | 323 | __field(bool, cts) |
321 | __field(bool, shortpre) | 324 | __field(bool, shortpre) |
322 | __field(bool, shortslot) | 325 | __field(bool, shortslot) |
326 | __field(bool, enable_beacon) | ||
323 | __field(u8, dtimper) | 327 | __field(u8, dtimper) |
324 | __field(u16, bcnint) | 328 | __field(u16, bcnint) |
325 | __field(u16, assoc_cap) | 329 | __field(u16, assoc_cap) |
326 | __field(u64, sync_tsf) | 330 | __field(u64, sync_tsf) |
327 | __field(u32, sync_device_ts) | 331 | __field(u32, sync_device_ts) |
328 | __field(u32, basic_rates) | 332 | __field(u32, basic_rates) |
329 | __field(u32, changed) | 333 | __array(int, mcast_rate, IEEE80211_NUM_BANDS) |
330 | __field(bool, enable_beacon) | ||
331 | __field(u16, ht_operation_mode) | 334 | __field(u16, ht_operation_mode) |
335 | __field(s32, cqm_rssi_thold); | ||
336 | __field(s32, cqm_rssi_hyst); | ||
337 | __field(u32, channel_type); | ||
338 | __dynamic_array(u32, arp_addr_list, info->arp_addr_cnt); | ||
339 | __field(bool, arp_filter_enabled); | ||
340 | __field(bool, qos); | ||
341 | __field(bool, idle); | ||
342 | __field(bool, ps); | ||
343 | __dynamic_array(u8, ssid, info->ssid_len); | ||
344 | __field(bool, hidden_ssid); | ||
332 | ), | 345 | ), |
333 | 346 | ||
334 | TP_fast_assign( | 347 | TP_fast_assign( |
@@ -337,17 +350,32 @@ TRACE_EVENT(drv_bss_info_changed, | |||
337 | __entry->changed = changed; | 350 | __entry->changed = changed; |
338 | __entry->aid = info->aid; | 351 | __entry->aid = info->aid; |
339 | __entry->assoc = info->assoc; | 352 | __entry->assoc = info->assoc; |
353 | __entry->ibss_joined = info->ibss_joined; | ||
354 | __entry->ibss_creator = info->ibss_creator; | ||
340 | __entry->shortpre = info->use_short_preamble; | 355 | __entry->shortpre = info->use_short_preamble; |
341 | __entry->cts = info->use_cts_prot; | 356 | __entry->cts = info->use_cts_prot; |
342 | __entry->shortslot = info->use_short_slot; | 357 | __entry->shortslot = info->use_short_slot; |
358 | __entry->enable_beacon = info->enable_beacon; | ||
343 | __entry->dtimper = info->dtim_period; | 359 | __entry->dtimper = info->dtim_period; |
344 | __entry->bcnint = info->beacon_int; | 360 | __entry->bcnint = info->beacon_int; |
345 | __entry->assoc_cap = info->assoc_capability; | 361 | __entry->assoc_cap = info->assoc_capability; |
346 | __entry->sync_tsf = info->sync_tsf; | 362 | __entry->sync_tsf = info->sync_tsf; |
347 | __entry->sync_device_ts = info->sync_device_ts; | 363 | __entry->sync_device_ts = info->sync_device_ts; |
348 | __entry->basic_rates = info->basic_rates; | 364 | __entry->basic_rates = info->basic_rates; |
349 | __entry->enable_beacon = info->enable_beacon; | 365 | memcpy(__entry->mcast_rate, info->mcast_rate, |
366 | sizeof(__entry->mcast_rate)); | ||
350 | __entry->ht_operation_mode = info->ht_operation_mode; | 367 | __entry->ht_operation_mode = info->ht_operation_mode; |
368 | __entry->cqm_rssi_thold = info->cqm_rssi_thold; | ||
369 | __entry->cqm_rssi_hyst = info->cqm_rssi_hyst; | ||
370 | __entry->channel_type = info->channel_type; | ||
371 | memcpy(__get_dynamic_array(arp_addr_list), info->arp_addr_list, | ||
372 | sizeof(u32) * info->arp_addr_cnt); | ||
373 | __entry->arp_filter_enabled = info->arp_filter_enabled; | ||
374 | __entry->qos = info->qos; | ||
375 | __entry->idle = info->idle; | ||
376 | __entry->ps = info->ps; | ||
377 | memcpy(__get_dynamic_array(ssid), info->ssid, info->ssid_len); | ||
378 | __entry->hidden_ssid = info->hidden_ssid; | ||
351 | ), | 379 | ), |
352 | 380 | ||
353 | TP_printk( | 381 | TP_printk( |