android_kernel_xiaomi_sm7250/net/dccp/ccids
Gerrit Renker 900bfed471 [CCID2]: Disable broken Ack Ratio adaptation algorithm
This comments out a problematic section comprising a half-finished algorithm:

 - The variable `ccid2hctx_ackloss' is never initialised to a value different from 0 and
   hence in fact is a read-only constant.
 - The `arsent' variable counts packets other than Acks (it is incremented for every packet),
   and there is no test for Ack Loss.
 - The concept of counting Acks as such leads to a complex calculation, and the calculation
   at the moment is inconsistent with this concept.
   The problem is that the number of Acks - rather than the number of windows - is counted,
   which leads to a complex (cubic/quadratic) expression - this is not even implemented.

In its current state, the commented-out algorithm interfers with normal processing by
changing Ack Ratio incorrectly, and at the wrong times.

A new algorithm is necessary, which will not necessarily use the same variables as used by
the unfinished one; hence the old variables have been removed.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-28 14:54:55 -08:00
..
lib [CCID3]: Inline for moving average 2008-01-28 14:54:43 -08:00
ccid2.c [CCID2]: Disable broken Ack Ratio adaptation algorithm 2008-01-28 14:54:55 -08:00
ccid2.h [CCID2]: Disable broken Ack Ratio adaptation algorithm 2008-01-28 14:54:55 -08:00
ccid3.c [CCID3]: Inline for moving average 2008-01-28 14:54:43 -08:00
ccid3.h [CCID3]: Accurately determine idle & application-limited periods 2008-01-28 14:54:42 -08:00
Kconfig [DCCP]: Remove redundant dependency on IP_DCCP 2008-01-28 14:54:46 -08:00
Makefile [DCCP] CCID2: Initial CCID2 (TCP-Like) implementation 2006-03-20 17:41:47 -08:00