From 8e70bb5bb4751e3a7f33b95b2994bff410235844 Mon Sep 17 00:00:00 2001 From: Aravind Sirsikar Date: Thu, 15 Sep 2016 17:51:16 +0530 Subject: tbf_dl: factor out EGPRS DL window size calculation A subsequent patch needs to call this from gprs_rlcmac_tbf::update(), so to avoid code dup, put the calculation in a separate function. Related: OS#1808 Change-Id: I7c7777d43f843bbd3421503fc2a8600f148ca035 --- src/tbf.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tbf.h') diff --git a/src/tbf.h b/src/tbf.h index 2a1bfe83..3a6f42db 100644 --- a/src/tbf.h +++ b/src/tbf.h @@ -372,6 +372,8 @@ struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf { int release(); int abort(); + void egprs_calc_window_size(); + /* TODO: add the gettimeofday as parameter */ struct msgb *llc_dequeue(bssgp_bvc_ctx *bctx); -- cgit v1.2.3