diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-14 14:02:41 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-16 19:24:16 +0200 |
commit | 5979fe9d8af159bbf8ea382bcd06ad43e25e209c (patch) | |
tree | 1be9fd380a5c70bdaf27d0d08c0c3bdc70916787 /src/gprs_rlcmac_ts_alloc.cpp | |
parent | 400ec02e8a0415a59eae9dcdae43de38247897a3 (diff) |
alloc: Add counters for successful algo A/B allocations
This adds counters for algorithm A and B with count successful
allocation combined for UL and DL.
Ticket: #1934
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_rlcmac_ts_alloc.cpp')
-rw-r--r-- | src/gprs_rlcmac_ts_alloc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp index d664bbc9..d4cd9841 100644 --- a/src/gprs_rlcmac_ts_alloc.cpp +++ b/src/gprs_rlcmac_ts_alloc.cpp @@ -456,6 +456,7 @@ int alloc_algorithm_a(struct gprs_rlcmac_bts *bts, ms_->set_reserved_slots(trx, 1 << ts, 1 << ts); tbf_->upgrade_to_multislot = 0; + bts->bts->tbf_alloc_algo_a(); return 0; } @@ -994,6 +995,8 @@ int alloc_algorithm_b(struct gprs_rlcmac_bts *bts, } } + bts->bts->tbf_alloc_algo_b(); + return 0; } |