aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_pid.h
diff options
context:
space:
mode:
authorStefano Brivio <stefano.brivio@polimi.it>2007-12-23 11:49:00 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:00:55 -0500
commit1b507e7e538ee1c8a25e698911a44604d6be3954 (patch)
tree84dde26e574748e489aae81f9c551f5ed6e2bec8 /net/mac80211/rc80211_pid.h
parent6d65f5db2f66e3ff44df759fbbb3c7482879fb1e (diff)
rc80211-pid: fix definition of rate control interval
Fix the rate control interval definition. Thanks to Mattias Nissler for spotting this out. Cc: Mattias Nissler <mattias.nissler@gmx.de> Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rc80211_pid.h')
-rw-r--r--net/mac80211/rc80211_pid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_pid.h b/net/mac80211/rc80211_pid.h
index b98e16afe4d1..04afc13ed825 100644
--- a/net/mac80211/rc80211_pid.h
+++ b/net/mac80211/rc80211_pid.h
@@ -10,8 +10,8 @@
10#ifndef RC80211_PID_H 10#ifndef RC80211_PID_H
11#define RC80211_PID_H 11#define RC80211_PID_H
12 12
13/* Sampling period for measuring percentage of failed frames. */ 13/* Sampling period for measuring percentage of failed frames in ms. */
14#define RC_PID_INTERVAL (HZ / 8) 14#define RC_PID_INTERVAL 125
15 15
16/* Exponential averaging smoothness (used for I part of PID controller) */ 16/* Exponential averaging smoothness (used for I part of PID controller) */
17#define RC_PID_SMOOTHING_SHIFT 3 17#define RC_PID_SMOOTHING_SHIFT 3