From 617c7127f434fc866ca370e8812f1ad01ad90d27 Mon Sep 17 00:00:00 2001 From: Jacob Erlbeck Date: Tue, 30 Jun 2015 09:18:30 +0200 Subject: 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 --- src/gprs_ms.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gprs_ms.h') 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; -- cgit v1.2.3