All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sriram R <srirrama@codeaurora.org>
To: johannes@sipsolutions.net
Cc: linux-wireless@vger.kernel.org, Sriram R <srirrama@codeaurora.org>
Subject: [RFCv2 0/2] nl80211/mac80211 Add support for per-rate rx statistics
Date: Mon, 28 May 2018 19:04:37 +0530	[thread overview]
Message-ID: <1527514479-6696-1-git-send-email-srirrama@codeaurora.org> (raw)

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(-)

-- 
2.7.4

             reply	other threads:[~2018-05-28 13:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-28 13:34 Sriram R [this message]
2018-05-28 13:34 ` [RFCv2 1/2] nl80211: support per-rate/per-station statistics Sriram R
2018-06-15 12:19   ` Johannes Berg
2018-08-12  2:07     ` Sriram R
2018-05-28 13:34 ` [RFCv2 2/2] mac80211: Add support for per-rate rx statistics Sriram R
2018-06-15 12:25   ` Johannes Berg
2018-08-12  2:44     ` Sriram R
2018-08-28  9:00       ` Johannes Berg
2018-08-29 14:07         ` Sriram R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1527514479-6696-1-git-send-email-srirrama@codeaurora.org \
    --to=srirrama@codeaurora.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.