Lines Matching refs:minRTT
33 u32 minRTT; member
56 return htcp_cong_time(ca) / ca->minRTT; in htcp_ccount()
88 if (ca->minRTT > srtt || !ca->minRTT) in measure_rtt()
89 ca->minRTT = srtt; in measure_rtt()
93 if (ca->maxRTT < ca->minRTT) in measure_rtt()
94 ca->maxRTT = ca->minRTT; in measure_rtt()
128 now - ca->lasttime >= ca->minRTT && in measure_achieved_throughput()
129 ca->minRTT > 0) { in measure_achieved_throughput()
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()
175 u32 minRTT = ca->minRTT; in htcp_alpha_update() local
184 if (use_rtt_scaling && minRTT) { in htcp_alpha_update()
185 u32 scale = (HZ << 3) / (10 * minRTT); in htcp_alpha_update()
211 u32 minRTT = ca->minRTT; 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()