aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.h
diff options
context:
space:
mode:
authorAravind Sirsikar <arvind.sirsikar@radisys.com>2016-09-15 17:51:16 +0530
committerAravind Sirsikar <arvind.sirsikar@radisys.com>2016-09-15 17:51:16 +0530
commit8e70bb5bb4751e3a7f33b95b2994bff410235844 (patch)
treecbe1fae5b15ea06365c63548f6157ca5fada1323 /src/tbf.h
parent22a901905c9749b03fceccda4d550f3da799d524 (diff)
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
Diffstat (limited to 'src/tbf.h')
-rw-r--r--src/tbf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 2a1bfe8..3a6f42d 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);