diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-30 09:18:30 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-03 15:37:16 +0200 |
commit | 617c7127f434fc866ca370e8812f1ad01ad90d27 (patch) | |
tree | f96ea2cf5416e1b0d97075cea94e413191d132a4 /src/tbf.h | |
parent | 23f93a15ca759b55b4713148f06d9a2d152278ab (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |