Lines Matching refs:maxRTT
34 u32 maxRTT; member
62 ca->undo_maxRTT = ca->maxRTT; in htcp_reset()
74 ca->maxRTT = ca->undo_maxRTT; in htcp_cwnd_undo()
93 if (ca->maxRTT < ca->minRTT) in measure_rtt()
94 ca->maxRTT = ca->minRTT; in measure_rtt()
95 if (ca->maxRTT < srtt && in measure_rtt()
96 srtt <= ca->maxRTT + msecs_to_jiffies(20)) in measure_rtt()
97 ca->maxRTT = srtt; in measure_rtt()
147 static inline void htcp_beta_update(struct htcp *ca, u32 minRTT, u32 maxRTT) in htcp_beta_update() argument
161 if (ca->modeswitch && minRTT > msecs_to_jiffies(10) && maxRTT) { in htcp_beta_update()
162 ca->beta = (minRTT << 7) / maxRTT; in htcp_beta_update()
212 u32 maxRTT = ca->maxRTT; in htcp_param_update() local
214 htcp_beta_update(ca, minRTT, maxRTT); in htcp_param_update()
218 if (minRTT > 0 && maxRTT > minRTT) in htcp_param_update()
219 ca->maxRTT = minRTT + ((maxRTT - minRTT) * 95) / 100; in htcp_param_update()