path: root/src/tbf.h
diff options
authorDaniel Willmann <dwillmann@sysmocom.de>2014-05-30 17:58:01 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-30 18:23:17 +0200
commitcf1fae7f383b9166a7cce0cbe0b9c11d165fc4ba (patch)
treed347e2dc2ea61195fb38be08e263be9a963f6e00 /src/tbf.h
parent73191a443f4be0a6a6ae7058625912150e07e3c7 (diff)
tbf: Re-send dl assignment if we can upgrade to multislot
The current code would only ever assign one PDCH for the initial assignment (from CCCH). Only if reuse_tbf is called the algorithm would actually use multiple DL PDCHs if possible. This patch introduced a tbf attribute upgrade_to_multislot that is set if we have multiple PDCH configured, and support multislot assignment, but can only assign a single PDCH (alloc_algorithm_b, parameter single is set). In this case after the assignment completes (and the MS is listening on a PDCH) we resend a DL assignment though the PACCH and this time we can assign multiple timeslots.
Diffstat (limited to 'src/tbf.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 0ee9718..80e2068 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -221,6 +221,9 @@ struct gprs_rlcmac_tbf {
* schedule a new dl assignment */
uint8_t was_releasing;
+ /* Can/should we upgrade this tbf to use multiple slots? */
+ uint8_t upgrade_to_multislot;
/* store the BTS this TBF belongs to */
BTS *bts;