Skip to content

RFC nl80211/mac80211 Add support for per-rate rx statistics

Sriram R linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 6 repliesIn review
  2. v1 RFC2 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nl80211: support per-rate/per-station statisticsinclude/net/cfg80211.h include/uapi/linux/nl80211.h net/wireless/core.c +4 more+346 -132 replies
2/2mac80211: Add support for per-rate rx statisticsnet/mac80211/cfg.c net/mac80211/ieee80211_i.h net/mac80211/main.c +3 more+280 -24 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [RFCv2 0/2] nl80211/mac80211 Add support for per-rate rx statistics

This patchset adds support for the collection and propagating of per-rate, per-station rx statistics when subscribed by userspace applications.

These statistics can be useful in understanding the quality of communication with our peers and in evaluating how different peers
are communicating in different MCS/BW/NSS during different time periods and environment.

This patchset is based on the below implementation by Johannes, to publish the stats when user space clients have subscribed and dump and clear when a certain threshold of stats is reached.

http://thread.gmane.org/gmane.linux.kernel.wireless.general/133172

Few changes are made to the above implementation,
1. Dynamic memory allocation of stats data structures
2. Rate is encoded and used as key of hash table for scalablility.

Johannes Berg(1):
nl80211: support per-rate/per-station statistics

Sriram R (1):
mac80211: Add support for per-rate rx statistics

 include/net/cfg80211.h       |  51 +++++++++++
 include/uapi/linux/nl80211.h |  76 ++++++++++++++++
 net/mac80211/cfg.c           |  36 ++++++++
 net/mac80211/ieee80211_i.h   |   2 +
 net/mac80211/main.c          |   2 +
 net/mac80211/rx.c            |  10 +-
 net/mac80211/sta_info.c      | 212 +++++++++++++++++++++++++++++++++++++++++++
 net/mac80211/sta_info.h      |  20 ++++
 net/wireless/core.c          |  18 ++++
 net/wireless/nl80211.c       | 175 ++++++++++++++++++++++++++++++++---
 net/wireless/nl80211.h       |  14 +++
 net/wireless/rdev-ops.h      |  10 ++
 net/wireless/trace.h         |  15 +++
 13 files changed, 626 insertions(+), 15 deletions(-)
Signature · 1 line
2.7.4