aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_ms.h
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-06-30 09:18:30 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-07-03 15:37:16 +0200
commit617c7127f434fc866ca370e8812f1ad01ad90d27 (patch)
treef96ea2cf5416e1b0d97075cea94e413191d132a4 /src/gprs_ms.h
parent23f93a15ca759b55b4713148f06d9a2d152278ab (diff)
ms: Get the set of slots currently active
This commits adds methods to GprsMs and gprs_rlcmac_tbf to retrieve the slots that are actively used. Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_ms.h')
-rw-r--r--src/gprs_ms.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gprs_ms.h b/src/gprs_ms.h
index 910ccb83..840a2295 100644
--- a/src/gprs_ms.h
+++ b/src/gprs_ms.h
@@ -80,6 +80,8 @@ public:
uint8_t current_cs_dl() const;
int first_common_ts() const;
+ uint8_t dl_slots() const;
+ uint8_t ul_slots() const;
uint8_t reserved_dl_slots() const;
uint8_t reserved_ul_slots() const;
gprs_rlcmac_trx *current_trx() const;