diff options
| -rw-r--r-- | net/mac80211/driver-trace.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index b8fef1d11369..ee94ea0c67e9 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h | |||
| @@ -131,17 +131,35 @@ TRACE_EVENT(drv_config, | |||
| 131 | LOCAL_ENTRY | 131 | LOCAL_ENTRY |
| 132 | __field(u32, changed) | 132 | __field(u32, changed) |
| 133 | __field(int, ret) | 133 | __field(int, ret) |
| 134 | __field(u32, flags) | ||
| 135 | __field(int, power_level) | ||
| 136 | __field(int, dynamic_ps_timeout) | ||
| 137 | __field(int, max_sleep_period) | ||
| 138 | __field(u16, listen_interval) | ||
| 139 | __field(u8, long_frame_max_tx_count) | ||
| 140 | __field(u8, short_frame_max_tx_count) | ||
| 141 | __field(int, center_freq) | ||
| 142 | __field(int, channel_type) | ||
| 134 | ), | 143 | ), |
| 135 | 144 | ||
| 136 | TP_fast_assign( | 145 | TP_fast_assign( |
| 137 | LOCAL_ASSIGN; | 146 | LOCAL_ASSIGN; |
| 138 | __entry->changed = changed; | 147 | __entry->changed = changed; |
| 139 | __entry->ret = ret; | 148 | __entry->ret = ret; |
| 149 | __entry->flags = local->hw.conf.flags; | ||
| 150 | __entry->power_level = local->hw.conf.power_level; | ||
| 151 | __entry->dynamic_ps_timeout = local->hw.conf.dynamic_ps_timeout; | ||
| 152 | __entry->max_sleep_period = local->hw.conf.max_sleep_period; | ||
| 153 | __entry->listen_interval = local->hw.conf.listen_interval; | ||
| 154 | __entry->long_frame_max_tx_count = local->hw.conf.long_frame_max_tx_count; | ||
| 155 | __entry->short_frame_max_tx_count = local->hw.conf.short_frame_max_tx_count; | ||
| 156 | __entry->center_freq = local->hw.conf.channel->center_freq; | ||
| 157 | __entry->channel_type = local->hw.conf.channel_type; | ||
| 140 | ), | 158 | ), |
| 141 | 159 | ||
| 142 | TP_printk( | 160 | TP_printk( |
| 143 | LOCAL_PR_FMT " ch:%#x ret:%d", | 161 | LOCAL_PR_FMT " ch:%#x freq:%d ret:%d", |
| 144 | LOCAL_PR_ARG, __entry->changed, __entry->ret | 162 | LOCAL_PR_ARG, __entry->changed, __entry->center_freq, __entry->ret |
| 145 | ) | 163 | ) |
| 146 | ); | 164 | ); |
| 147 | 165 | ||
| @@ -167,6 +185,8 @@ TRACE_EVENT(drv_bss_info_changed, | |||
| 167 | __field(u64, timestamp) | 185 | __field(u64, timestamp) |
| 168 | __field(u32, basic_rates) | 186 | __field(u32, basic_rates) |
| 169 | __field(u32, changed) | 187 | __field(u32, changed) |
| 188 | __field(bool, enable_beacon) | ||
| 189 | __field(u16, ht_operation_mode) | ||
| 170 | ), | 190 | ), |
| 171 | 191 | ||
| 172 | TP_fast_assign( | 192 | TP_fast_assign( |
| @@ -183,6 +203,8 @@ TRACE_EVENT(drv_bss_info_changed, | |||
| 183 | __entry->assoc_cap = info->assoc_capability; | 203 | __entry->assoc_cap = info->assoc_capability; |
| 184 | __entry->timestamp = info->timestamp; | 204 | __entry->timestamp = info->timestamp; |
| 185 | __entry->basic_rates = info->basic_rates; | 205 | __entry->basic_rates = info->basic_rates; |
| 206 | __entry->enable_beacon = info->enable_beacon; | ||
| 207 | __entry->ht_operation_mode = info->ht_operation_mode; | ||
| 186 | ), | 208 | ), |
| 187 | 209 | ||
| 188 | TP_printk( | 210 | TP_printk( |
