Lines Matching refs:cwnd
79 * Ensure that Ack Ratio does not exceed ceil(cwnd/2), which is (2) from
81 * acceptable since this causes starvation/deadlock whenever cwnd < 2.
149 /* adjust pipe, cwnd etc */
165 /* if we were blocked before, we may now send cwnd=1 packet */
183 * ccid2_update_used_window - Track how much of cwnd is actually used
198 /* don't reduce cwnd below the initial window (IW) */
217 u32 cwnd = hc->tx_cwnd, restart_cwnd,
221 hc->tx_ssthresh = max(hc->tx_ssthresh, (cwnd >> 1) + (cwnd >> 2));
223 /* don't reduce cwnd below the initial window (IW) */
224 restart_cwnd = min(cwnd, iwnd);
226 while ((delta -= hc->tx_rto) >= 0 && cwnd > restart_cwnd)
227 cwnd >>= 1;
228 hc->tx_cwnd = max(cwnd, restart_cwnd);
250 /* see whether cwnd was fully used (RFC 2861), update expected window */
282 ccid2_pr_debug("cwnd=%d pipe=%d\n", hc->tx_cwnd, hc->tx_pipe);
291 * comes up with the number K = cwnd / (R^2 - R) of consecutive windows
295 * arsent >= K * cwnd / R = cwnd^2 / (R^3 - R^2)
296 * where cwnd / R is the number of Acks received per window of data
328 hc->tx_arsent = 0; /* or maybe set it to cwnd*/
402 * 1) pipe <= cwnd <= Sequence_Window = W (RFC 4340, 7.5.2)
576 * In slow-start, cwnd can increase up to a maximum of Ack Ratio/2
577 * packets per acknowledgement. Rounding up avoids that cwnd is not