diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-17 11:38:49 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-07-17 12:06:19 +0200 |
commit | 7f79f0d332316acb306682ecac0a1b812d6023d1 (patch) | |
tree | 7e43e69e4715ca2418eb3ff3be9110a52cd2873a /src/gprs_rlcmac.h | |
parent | 77da35515ce40baf2305cf7cf5e4008f6b478e36 (diff) |
bssgp: Adapt flowcontrol MS default to current alloc algorithm
Currently the values Bmax/R default MS are computed under the
assumption than min(4, N_PDCH) DL slots are allocated for an MS, even
if multislot assignment is not enabled.
This commit changes the computation to assume 1 DL slot if algorithm
A is selected or the dynamic algorithm is used and has disabled
multislot assigment due to high load.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 3c1f1a05..f193dfa4 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -93,6 +93,9 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts, uint8_t trx, uint8_t ts, uint16_t arfcn, uint32_t fn, uint8_t block_nr); +int gprs_alloc_max_dl_slots_per_ms(struct gprs_rlcmac_bts *bts, + uint8_t ms_class = 0); + extern "C" { #endif int alloc_algorithm_a(struct gprs_rlcmac_bts *bts, |