From: Stefano Brivio Date: Sun, 23 Dec 2007 16:49:00 +0000 (+0100) Subject: rc80211-pid: fix definition of rate control interval X-Git-Tag: MMI-PSA29.97-13-9~37648^2~850 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1b507e7e538ee1c8a25e698911a44604d6be3954;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Stefano Brivio Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- 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 @@ #ifndef RC80211_PID_H #define RC80211_PID_H -/* Sampling period for measuring percentage of failed frames. */ -#define RC_PID_INTERVAL (HZ / 8) +/* Sampling period for measuring percentage of failed frames in ms. */ +#define RC_PID_INTERVAL 125 /* Exponential averaging smoothness (used for I part of PID controller) */ #define RC_PID_SMOOTHING_SHIFT 3