diff options
author | Mattias Nissler <mattias.nissler@gmx.de> | 2007-12-18 19:25:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 17:59:18 -0500 |
commit | ad01837593338f13508463fa11c8dbf8109a1e5d (patch) | |
tree | 77b521a6b8e7f8357505449fe812a9d41d40afb2 /net/mac80211/ieee80211_rate.h | |
parent | 1abbe498e4b5e4f2000dfc30a0fa25be9553530e (diff) |
mac80211: add PID controller based rate control algorithm
Add a new rate control algorithm based on a PID controller. It samples the
percentage of failed frames over time, feeds the result into the controller and
uses its output to control the TX rate.
Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_rate.h')
-rw-r--r-- | net/mac80211/ieee80211_rate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_rate.h b/net/mac80211/ieee80211_rate.h index 787134bd6abf..3eb0696f3757 100644 --- a/net/mac80211/ieee80211_rate.h +++ b/net/mac80211/ieee80211_rate.h | |||
@@ -61,6 +61,9 @@ struct rate_control_ref { | |||
61 | /* default 'simple' algorithm */ | 61 | /* default 'simple' algorithm */ |
62 | extern struct rate_control_ops mac80211_rcsimple; | 62 | extern struct rate_control_ops mac80211_rcsimple; |
63 | 63 | ||
64 | /* 'PID' algorithm */ | ||
65 | extern struct rate_control_ops mac80211_rcpid; | ||
66 | |||
64 | int ieee80211_rate_control_register(struct rate_control_ops *ops); | 67 | int ieee80211_rate_control_register(struct rate_control_ops *ops); |
65 | void ieee80211_rate_control_unregister(struct rate_control_ops *ops); | 68 | void ieee80211_rate_control_unregister(struct rate_control_ops *ops); |
66 | 69 | ||