Skip to content

Add ethtool stats support for Wireless Devices

[email protected] linux-wireless 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 2 repliesIn review
  2. v34 patches 1 replySuperseded
  3. v26 patches 19 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 of 5 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cfg80211: Add framework to support ethtool stats.include/net/cfg80211.h net/wireless/ethtool.c+46 -00 replies
2/4mac80211: Support getting sta_info stats via ethtool.net/mac80211/cfg.c+91 -00 replies
3/4mac80211: Framework to get wifi-driver stats via ethtool.include/net/mac80211.h net/mac80211/cfg.c net/mac80211/driver-ops.h +1 more+85 -32 replies
4/4mac80211: Add more ethtools stats: survey, rates, etcnet/mac80211/cfg.c+81 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] Add ethtool stats support for Wireless Devices

From: Ben Greear <[email protected]>

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(-)
Signature · 1 line
1.7.3.4