aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/lib/tfrc_equation.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/lib/tfrc_equation.c')
-rw-r--r--net/dccp/ccids/lib/tfrc_equation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/ccids/lib/tfrc_equation.c b/net/dccp/ccids/lib/tfrc_equation.c
index a052a4377e26..88ef98285bec 100644
--- a/net/dccp/ccids/lib/tfrc_equation.c
+++ b/net/dccp/ccids/lib/tfrc_equation.c
@@ -611,6 +611,7 @@ static inline u32 tfrc_binsearch(u32 fval, u8 small)
611 * @s: packet size in bytes 611 * @s: packet size in bytes
612 * @R: RTT scaled by 1000000 (i.e., microseconds) 612 * @R: RTT scaled by 1000000 (i.e., microseconds)
613 * @p: loss ratio estimate scaled by 1000000 613 * @p: loss ratio estimate scaled by 1000000
614 *
614 * Returns X_calc in bytes per second (not scaled). 615 * Returns X_calc in bytes per second (not scaled).
615 */ 616 */
616u32 tfrc_calc_x(u16 s, u32 R, u32 p) 617u32 tfrc_calc_x(u16 s, u32 R, u32 p)
@@ -659,6 +660,7 @@ u32 tfrc_calc_x(u16 s, u32 R, u32 p)
659/** 660/**
660 * tfrc_calc_x_reverse_lookup - try to find p given f(p) 661 * tfrc_calc_x_reverse_lookup - try to find p given f(p)
661 * @fvalue: function value to match, scaled by 1000000 662 * @fvalue: function value to match, scaled by 1000000
663 *
662 * Returns closest match for p, also scaled by 1000000 664 * Returns closest match for p, also scaled by 1000000
663 */ 665 */
664u32 tfrc_calc_x_reverse_lookup(u32 fvalue) 666u32 tfrc_calc_x_reverse_lookup(u32 fvalue)