diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-18 17:16:26 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-29 10:53:32 +0200 |
commit | e2e004e7a91a3cd680c11364d9cb8cd21c714a8b (patch) | |
tree | ef0260a7139092f77de07ff39765440fdbae8b30 /src/gprs_rlcmac.h | |
parent | ace7b570a047b7ee36557091c10918240c4b8ff3 (diff) |
tbf: Pass the MS object around instead of old_tbf
Currently the old TBF (either uplink or downlink) is passed around at
TBF allocation mainly to get information about the MS. To implement
more complex allocation algorithms, the MS object itself will be
needed anyway.
This commit replaces the old_tbf arguments by MS object arguments.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 6f8a7a4f..dab3338f 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -42,6 +42,7 @@ extern "C" { struct gprs_rlcmac_tbf; struct gprs_rlcmac_bts; struct BTS; +struct GprsMs; #ifdef __cplusplus /* @@ -95,11 +96,11 @@ int gprs_rlcmac_rcv_rts_block(struct gprs_rlcmac_bts *bts, extern "C" { #endif int alloc_algorithm_a(struct gprs_rlcmac_bts *bts, - struct gprs_rlcmac_tbf *old_tbf, + struct GprsMs *ms, struct gprs_rlcmac_tbf *tbf, uint32_t cust, uint8_t single); int alloc_algorithm_b(struct gprs_rlcmac_bts *bts, - struct gprs_rlcmac_tbf *old_tbf, + struct GprsMs *ms, struct gprs_rlcmac_tbf *tbf, uint32_t cust, uint8_t single); #ifdef __cplusplus } |