2010-10-21 03:55:09

by Paul Stewart

[permalink] [raw]
Subject: [PATCH 0/2] Add CQM monitoring

This is a third version of this patch -- I made some cleanups including
not using the ifmgd->flags, since that could lead to race conditions.

Present CQM events to listeners under the following conditions:

- A bitrate threshold has been configured AND
+ This is the first transmitted rate since the threshold has been
(re)configured OR
+ The current transmit rate is on the other side of the threshold from
the previous transmit OR
+ The current transmit rate is lower than the threshold AND also lower
than the previous bitrate we have notified about.


include/linux/nl80211.h | 11 +++++-
include/net/cfg80211.h | 18 ++++++++
net/mac80211/cfg.c | 15 +++++++
net/mac80211/debugfs.c | 4 ++
net/mac80211/ieee80211_i.h | 23 ++++++++++
net/mac80211/mlme.c | 9 ++++
net/mac80211/rate.c | 96 ++++++++++++++++++++++++++++++++++++++++++++
net/mac80211/rate.h | 8 ++++
net/mac80211/status.c | 18 ++++++++
net/wireless/mlme.c | 13 ++++++
net/wireless/nl80211.c | 86 ++++++++++++++++++++++++++++++++++++++-
net/wireless/nl80211.h | 6 +++
12 files changed, 304 insertions(+), 3 deletions(-)

--
Paul