]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add WMM admission control support
authorJohannes Berg <johannes.berg@intel.com>
Tue, 7 Oct 2014 07:38:50 +0000 (10:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Oct 2014 08:42:09 +0000 (10:42 +0200)
commit67a357e38558c030a9d99dd89bf9a76d86dc2ba5
treeafaa7b17ffde140c2791a87c9dde1a489a949f36
parent006bbbd8c73d6cf4896d2755599fe81cc4c3d76a
mac80211: add WMM admission control support

Use the currently existing APIs between mac80211 and the low
level driver to implement WMM admission control.

The low level driver needs to report the media time used by
each transmitted packet in ieee80211_tx_status. Based on that
information, mac80211 will modify the QoS parameters of the
admission controlled Access Category when the limit is
reached. Once the original QoS parameters can be restored,
mac80211 will do so.

One issue with this approach is that management frames will
also erroneously be downgraded, but the upside is that the
implementation is simple. In the future, it can be extended
to driver- or device-based implementations that are better.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/agg-tx.c
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/status.c
net/mac80211/wme.c
net/mac80211/wme.h