Lines Matching refs:wmax
94 theoretical_cubic_cwnd(int ticks_since_cong, unsigned long wmax, uint32_t smss)
99 wmax_pkts = wmax / (double)smss;
107 theoretical_reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax,
111 return ((wmax * 0.5) + ((ticks_since_cong / (float)rtt_ticks) * smss));
115 theoretical_tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax,
119 return ((wmax * 0.8) + ((3 * 0.2) / (2 - 0.2) *
139 /* (wmax * beta)/C with CUBIC_SHIFT worth of precision. */
167 cubic_cwnd(int ticks_since_cong, unsigned long wmax, uint32_t smss, int64_t K)
180 * C(t - K)^3 + wmax
185 cwnd = ((cwnd * CUBIC_C_FACTOR * smss) >> CUBIC_SHIFT_4) + wmax;
193 * measured over the previous congestion epoch and wmax is the value of cwnd at
199 reno_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax,
204 * For NewReno, beta = 0.5, therefore: W_tcp(t) = wmax*0.5 + t/RTT
205 * W_tcp(t) deals with cwnd/wmax in pkts, so because our cwnd is in
208 return (((wmax * RENO_BETA) + (((ticks_since_cong * smss)
216 * estimate for the path measured over the previous congestion epoch and wmax is
220 tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned long wmax,
225 return (((wmax * CUBIC_BETA) + (((THREE_X_PT2 * ticks_since_cong *