forked from luck/tmp_suning_uos_patched
mac80211: complete bss_info tracing
Some fields have been added but were missed in tracing, add them now. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
5df45690e7
commit
1724ffbc74
@ -315,20 +315,33 @@ TRACE_EVENT(drv_bss_info_changed,
|
||||
TP_STRUCT__entry(
|
||||
LOCAL_ENTRY
|
||||
VIF_ENTRY
|
||||
__field(u32, changed)
|
||||
__field(bool, assoc)
|
||||
__field(bool, ibss_joined)
|
||||
__field(bool, ibss_creator)
|
||||
__field(u16, aid)
|
||||
__field(bool, cts)
|
||||
__field(bool, shortpre)
|
||||
__field(bool, shortslot)
|
||||
__field(bool, enable_beacon)
|
||||
__field(u8, dtimper)
|
||||
__field(u16, bcnint)
|
||||
__field(u16, assoc_cap)
|
||||
__field(u64, sync_tsf)
|
||||
__field(u32, sync_device_ts)
|
||||
__field(u32, basic_rates)
|
||||
__field(u32, changed)
|
||||
__field(bool, enable_beacon)
|
||||
__array(int, mcast_rate, IEEE80211_NUM_BANDS)
|
||||
__field(u16, ht_operation_mode)
|
||||
__field(s32, cqm_rssi_thold);
|
||||
__field(s32, cqm_rssi_hyst);
|
||||
__field(u32, channel_type);
|
||||
__dynamic_array(u32, arp_addr_list, info->arp_addr_cnt);
|
||||
__field(bool, arp_filter_enabled);
|
||||
__field(bool, qos);
|
||||
__field(bool, idle);
|
||||
__field(bool, ps);
|
||||
__dynamic_array(u8, ssid, info->ssid_len);
|
||||
__field(bool, hidden_ssid);
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
@ -337,17 +350,32 @@ TRACE_EVENT(drv_bss_info_changed,
|
||||
__entry->changed = changed;
|
||||
__entry->aid = info->aid;
|
||||
__entry->assoc = info->assoc;
|
||||
__entry->ibss_joined = info->ibss_joined;
|
||||
__entry->ibss_creator = info->ibss_creator;
|
||||
__entry->shortpre = info->use_short_preamble;
|
||||
__entry->cts = info->use_cts_prot;
|
||||
__entry->shortslot = info->use_short_slot;
|
||||
__entry->enable_beacon = info->enable_beacon;
|
||||
__entry->dtimper = info->dtim_period;
|
||||
__entry->bcnint = info->beacon_int;
|
||||
__entry->assoc_cap = info->assoc_capability;
|
||||
__entry->sync_tsf = info->sync_tsf;
|
||||
__entry->sync_device_ts = info->sync_device_ts;
|
||||
__entry->basic_rates = info->basic_rates;
|
||||
__entry->enable_beacon = info->enable_beacon;
|
||||
memcpy(__entry->mcast_rate, info->mcast_rate,
|
||||
sizeof(__entry->mcast_rate));
|
||||
__entry->ht_operation_mode = info->ht_operation_mode;
|
||||
__entry->cqm_rssi_thold = info->cqm_rssi_thold;
|
||||
__entry->cqm_rssi_hyst = info->cqm_rssi_hyst;
|
||||
__entry->channel_type = info->channel_type;
|
||||
memcpy(__get_dynamic_array(arp_addr_list), info->arp_addr_list,
|
||||
sizeof(u32) * info->arp_addr_cnt);
|
||||
__entry->arp_filter_enabled = info->arp_filter_enabled;
|
||||
__entry->qos = info->qos;
|
||||
__entry->idle = info->idle;
|
||||
__entry->ps = info->ps;
|
||||
memcpy(__get_dynamic_array(ssid), info->ssid, info->ssid_len);
|
||||
__entry->hidden_ssid = info->hidden_ssid;
|
||||
),
|
||||
|
||||
TP_printk(
|
||||
|
Loading…
Reference in New Issue
Block a user