aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/trace.h')
-rw-r--r--net/wireless/trace.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/net/wireless/trace.h b/net/wireless/trace.h
index 8da1fae23cfb..3c1091ae6c36 100644
--- a/net/wireless/trace.h
+++ b/net/wireless/trace.h
@@ -110,7 +110,7 @@
110 conf->dot11MeshHWMPconfirmationInterval; \ 110 conf->dot11MeshHWMPconfirmationInterval; \
111 } while (0) 111 } while (0)
112 112
113#define CHAN_ENTRY __field(enum ieee80211_band, band) \ 113#define CHAN_ENTRY __field(enum nl80211_band, band) \
114 __field(u16, center_freq) 114 __field(u16, center_freq)
115#define CHAN_ASSIGN(chan) \ 115#define CHAN_ASSIGN(chan) \
116 do { \ 116 do { \
@@ -125,7 +125,7 @@
125#define CHAN_PR_FMT "band: %d, freq: %u" 125#define CHAN_PR_FMT "band: %d, freq: %u"
126#define CHAN_PR_ARG __entry->band, __entry->center_freq 126#define CHAN_PR_ARG __entry->band, __entry->center_freq
127 127
128#define CHAN_DEF_ENTRY __field(enum ieee80211_band, band) \ 128#define CHAN_DEF_ENTRY __field(enum nl80211_band, band) \
129 __field(u32, control_freq) \ 129 __field(u32, control_freq) \
130 __field(u32, width) \ 130 __field(u32, width) \
131 __field(u32, center_freq1) \ 131 __field(u32, center_freq1) \
@@ -2647,7 +2647,7 @@ TRACE_EVENT(cfg80211_scan_done,
2647 TP_STRUCT__entry( 2647 TP_STRUCT__entry(
2648 __field(u32, n_channels) 2648 __field(u32, n_channels)
2649 __dynamic_array(u8, ie, request ? request->ie_len : 0) 2649 __dynamic_array(u8, ie, request ? request->ie_len : 0)
2650 __array(u32, rates, IEEE80211_NUM_BANDS) 2650 __array(u32, rates, NUM_NL80211_BANDS)
2651 __field(u32, wdev_id) 2651 __field(u32, wdev_id)
2652 MAC_ENTRY(wiphy_mac) 2652 MAC_ENTRY(wiphy_mac)
2653 __field(bool, no_cck) 2653 __field(bool, no_cck)
@@ -2658,7 +2658,7 @@ TRACE_EVENT(cfg80211_scan_done,
2658 memcpy(__get_dynamic_array(ie), request->ie, 2658 memcpy(__get_dynamic_array(ie), request->ie,
2659 request->ie_len); 2659 request->ie_len);
2660 memcpy(__entry->rates, request->rates, 2660 memcpy(__entry->rates, request->rates,
2661 IEEE80211_NUM_BANDS); 2661 NUM_NL80211_BANDS);
2662 __entry->wdev_id = request->wdev ? 2662 __entry->wdev_id = request->wdev ?
2663 request->wdev->identifier : 0; 2663 request->wdev->identifier : 0;
2664 if (request->wiphy) 2664 if (request->wiphy)
@@ -2883,25 +2883,25 @@ TRACE_EVENT(rdev_start_radar_detection,
2883 2883
2884TRACE_EVENT(rdev_set_mcast_rate, 2884TRACE_EVENT(rdev_set_mcast_rate,
2885 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 2885 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
2886 int mcast_rate[IEEE80211_NUM_BANDS]), 2886 int mcast_rate[NUM_NL80211_BANDS]),
2887 TP_ARGS(wiphy, netdev, mcast_rate), 2887 TP_ARGS(wiphy, netdev, mcast_rate),
2888 TP_STRUCT__entry( 2888 TP_STRUCT__entry(
2889 WIPHY_ENTRY 2889 WIPHY_ENTRY
2890 NETDEV_ENTRY 2890 NETDEV_ENTRY
2891 __array(int, mcast_rate, IEEE80211_NUM_BANDS) 2891 __array(int, mcast_rate, NUM_NL80211_BANDS)
2892 ), 2892 ),
2893 TP_fast_assign( 2893 TP_fast_assign(
2894 WIPHY_ASSIGN; 2894 WIPHY_ASSIGN;
2895 NETDEV_ASSIGN; 2895 NETDEV_ASSIGN;
2896 memcpy(__entry->mcast_rate, mcast_rate, 2896 memcpy(__entry->mcast_rate, mcast_rate,
2897 sizeof(int) * IEEE80211_NUM_BANDS); 2897 sizeof(int) * NUM_NL80211_BANDS);
2898 ), 2898 ),
2899 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", " 2899 TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", "
2900 "mcast_rates [2.4GHz=0x%x, 5.2GHz=0x%x, 60GHz=0x%x]", 2900 "mcast_rates [2.4GHz=0x%x, 5.2GHz=0x%x, 60GHz=0x%x]",
2901 WIPHY_PR_ARG, NETDEV_PR_ARG, 2901 WIPHY_PR_ARG, NETDEV_PR_ARG,
2902 __entry->mcast_rate[IEEE80211_BAND_2GHZ], 2902 __entry->mcast_rate[NL80211_BAND_2GHZ],
2903 __entry->mcast_rate[IEEE80211_BAND_5GHZ], 2903 __entry->mcast_rate[NL80211_BAND_5GHZ],
2904 __entry->mcast_rate[IEEE80211_BAND_60GHZ]) 2904 __entry->mcast_rate[NL80211_BAND_60GHZ])
2905); 2905);
2906 2906
2907TRACE_EVENT(rdev_set_coalesce, 2907TRACE_EVENT(rdev_set_coalesce,