aboutsummaryrefslogtreecommitdiffstats
path: root/src/tbf.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/tbf.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/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 82ade4e8..f6f13f75 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -158,6 +158,8 @@ struct gprs_rlcmac_tbf {
const gprs_llc_queue *llc_queue() const;
time_t created_ts() const;
+ uint8_t dl_slots() const;
+ uint8_t ul_slots() const;
/* attempt to make things a bit more fair */
void rotate_in_list();