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/bts.cpp | |
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/bts.cpp')
-rw-r--r-- | src/bts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index 4ca53d55..8e565435 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -894,7 +894,7 @@ void gprs_rlcmac_pdch::rcv_control_dl_ack_nack(Packet_Downlink_Ack_Nack_t *ack_n /* This call will register the new TBF with the MS on success */ tbf_alloc_ul(bts_data(), tbf->trx->trx_no, tbf->ms_class(), - tbf->tlli(), tbf->ta(), tbf); + tbf->tlli(), tbf->ta(), tbf->ms()); /* schedule uplink assignment */ tbf->ul_ass_state = GPRS_RLCMAC_UL_ASS_SEND_ASS; |