commit | 617c7127f434fc866ca370e8812f1ad01ad90d27 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Tue Jun 30 09:18:30 2015 +0200 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Fri Jul 03 15:37:16 2015 +0200 |
tree | f96ea2cf5416e1b0d97075cea94e413191d132a4 | |
parent | 23f93a15ca759b55b4713148f06d9a2d152278ab [diff] [blame] |
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
diff --git a/src/tbf.h b/src/tbf.h index 82ade4e..f6f13f7 100644 --- a/src/tbf.h +++ b/src/tbf.h
@@ -158,6 +158,8 @@ 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();