aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_rlcmac_sched.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-20 17:10:25 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commitb65e08a7be6cb7e94248dbf7c8d46e9f30511c9d (patch)
treeec9c0a1ffd67379b53252bb280d50aec724c62af /src/gprs_rlcmac_sched.cpp
parent545876550f07d686315cb58ed0f4530bc89daa82 (diff)
misc: Remove the bts parameter from calls that take a tbf
Mark some of the tbf manipulation that is burried in the data sending routine.. that it should be moved around.
Diffstat (limited to 'src/gprs_rlcmac_sched.cpp')
-rw-r--r--src/gprs_rlcmac_sched.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index dc8e23df..e2e38046 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -119,17 +119,17 @@ static struct msgb *sched_select_ctrl_msg(struct gprs_rlcmac_bts *bts,
/* schedule PACKET UPLINK ASSIGNMENT (1st priority) */
if (ul_ass_tbf) {
tbf = ul_ass_tbf;
- msg = gprs_rlcmac_send_packet_uplink_assignment(bts, tbf, fn);
+ msg = gprs_rlcmac_send_packet_uplink_assignment(tbf, fn);
}
/* schedule PACKET DOWNLINK ASSIGNMENT (2nd priotiry) */
if (!msg && dl_ass_tbf) {
tbf = dl_ass_tbf;
- msg = gprs_rlcmac_send_packet_downlink_assignment(bts, tbf, fn);
+ msg = gprs_rlcmac_send_packet_downlink_assignment(tbf, fn);
}
/* schedule PACKET UPLINK ACK (3rd priority) */
if (!msg && ul_ack_tbf) {
tbf = ul_ack_tbf;
- msg = gprs_rlcmac_send_uplink_ack(bts, tbf, fn);
+ msg = gprs_rlcmac_send_uplink_ack(tbf, fn);
}
/* any message */
if (msg) {
@@ -182,8 +182,7 @@ static struct msgb *sched_select_downlink(struct gprs_rlcmac_bts *bts,
/* next TBF to handle ressource is the next one */
pdch->next_dl_tfi = (tfi + 1) & 31;
/* generate DL data block */
- msg = gprs_rlcmac_send_data_block_acknowledged(bts, tbf, fn,
- ts);
+ msg = gprs_rlcmac_send_data_block_acknowledged(tbf, fn, ts);
break;
}