diff options
author | Ben Greear <greearb@candelatech.com> | 2012-04-23 23:50:31 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-09 05:53:51 +0400 |
commit | e352114fd62f6d568ca0cb18f589cb8df710cf02 (patch) | |
tree | aadf36af471d9ccfd50561acf8bb052f1bace468 /net/mac80211/driver-trace.h | |
parent | b1ab79255c539ebe740baa89f8a44ab139381e1c (diff) | |
download | linux-e352114fd62f6d568ca0cb18f589cb8df710cf02.tar.xz |
mac80211: Framework to get wifi-driver stats via ethtool.
This adds hooks to call into the driver to get additional
stats for the ethtool API.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-trace.h')
-rw-r--r-- | net/mac80211/driver-trace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h index 7c0754bed61b..6de00b2c268c 100644 --- a/net/mac80211/driver-trace.h +++ b/net/mac80211/driver-trace.h @@ -161,6 +161,21 @@ DEFINE_EVENT(local_only_evt, drv_start, TP_ARGS(local) ); +DEFINE_EVENT(local_u32_evt, drv_get_et_strings, + TP_PROTO(struct ieee80211_local *local, u32 sset), + TP_ARGS(local, sset) +); + +DEFINE_EVENT(local_u32_evt, drv_get_et_sset_count, + TP_PROTO(struct ieee80211_local *local, u32 sset), + TP_ARGS(local, sset) +); + +DEFINE_EVENT(local_only_evt, drv_get_et_stats, + TP_PROTO(struct ieee80211_local *local), + TP_ARGS(local) +); + DEFINE_EVENT(local_only_evt, drv_suspend, TP_PROTO(struct ieee80211_local *local), TP_ARGS(local) |