From: Ben Greear <greearb@xxxxxxxxxxxxxxx> This enables ethtool stats for mac80211 devices. It also adds hooks to call down into mac80211 drivers for additional stats. Patches to enable this hook in ath9k will be posted in a different series. V3: Do a direct-lookup of the sta_info object if in MANAGED mode. Iterate through all survey results until we find the matching frequency. Roll the small sta-state patch into patch 4. v4: Leave a few STA stats zero unless we are in managed mode. Ben Greear (4): cfg80211: Add framework to support ethtool stats. mac80211: Support getting sta_info stats via ethtool. mac80211: Framework to get wifi-driver stats via ethtool. mac80211: Add more ethtools stats: survey, rates, etc include/net/cfg80211.h | 17 ++++ include/net/mac80211.h | 17 ++++ net/mac80211/cfg.c | 177 +++++++++++++++++++++++++++++++++++++++++++ net/mac80211/driver-ops.h | 37 +++++++++ net/mac80211/driver-trace.h | 15 ++++ net/wireless/ethtool.c | 29 +++++++ 6 files changed, 292 insertions(+), 0 deletions(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html