trace-cmd: update to latest version
[openwrt/svn-archive/archive.git] / package / devel / trace-cmd / patches / 110-mac80211_tracepoint.patch
1 --- a/plugin_mac80211.c
2 +++ b/plugin_mac80211.c
3 @@ -179,12 +179,15 @@ static int drv_config(struct trace_seq *
4 { 2, "IDLE" },
5 { 3, "QOS"},
6 );
7 - pevent_print_num_field(s, " chan:%d/", event, "center_freq", record, 1);
8 - print_enum(s, event, "channel_type", data,
9 - { 0, "noht" },
10 - { 1, "ht20" },
11 - { 2, "ht40-" },
12 - { 3, "ht40+" });
13 + pevent_print_num_field(s, " chan:%d@", event, "control_freq", record, 1);
14 + print_enum(s, event, "chan_width", data,
15 + { 0, "20_noht" },
16 + { 1, "20" },
17 + { 2, "40" },
18 + { 3, "80" },
19 + { 4, "80p80" },
20 + { 5, "160" });
21 +
22 trace_seq_putc(s, ' ');
23 SF("power_level");
24