Frederic Lecaille 2ed53ae4a0 MINOR: quic: Update K CUBIC calculation (RFC 9438)
The new formula for K CUBIC which arrives with RFC 9438 is as follows:

       K = cubic_root((W_max - cwnd_epoch) / C)

Note that W_max is c->last_w_max, and cwnd_epoch is c->cwnd when entering
quic_cubic_update() just after a congestion event.

Must be backported as far as 2.6.
2024-02-12 13:44:42 +01:00
..