]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
rc80211-pid: fix definition of rate control interval
authorStefano Brivio <stefano.brivio@polimi.it>
Sun, 23 Dec 2007 16:49:00 +0000 (17:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:00:55 +0000 (15:00 -0800)
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>
net/mac80211/rc80211_pid.h

index b98e16afe4d154d3d585c978cd773613dff1a85b..04afc13ed82551c87c2e2aa292cc00012da7520d 100644 (file)
@@ -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