rc80211-pid: pf_target tuning

Set a better value for percentage target for failed frames. The previous value
slowed down too much rate increases in case of permanently low activity. While
at it, increase readability.

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>
This commit is contained in:
Stefano Brivio 2007-12-23 04:44:56 +01:00 committed by David S. Miller
parent 13e05aa631
commit d439810bda

View file

@ -39,7 +39,7 @@
* link quality is good, the controller will fail to adjust failed frames * link quality is good, the controller will fail to adjust failed frames
* percentage to the target. This is intentional. * percentage to the target. This is intentional.
*/ */
#define RC_PID_TARGET_PF 11 #define RC_PID_TARGET_PF 14
/* Rate behaviour normalization quantity over time. */ /* Rate behaviour normalization quantity over time. */
#define RC_PID_NORM_OFFSET 3 #define RC_PID_NORM_OFFSET 3