aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-02-12 15:57:35 +0100
committerMax <msuraev@sysmocom.de>2016-02-12 15:57:35 +0100
commita620359d381fa318531bd4f5d6f74890fd384269 (patch)
tree32e79ca2944d0c32f6fe0d93473f2fb6e59ff2a7
parent48301471dd33e6b3c85bb43ab09b25ff168e253d (diff)
xxx
Signed-off-by: Max <msuraev@sysmocom.de>
-rw-r--r--src/gprs_rlcmac_sched.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index a3483c4..4c6219e 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -47,7 +47,7 @@ static uint32_t sched_poll(BTS *bts,
OSMO_ASSERT(ul_tbf);
/* this trx, this ts */
if (ul_tbf->trx->trx_no != trx || !ul_tbf->is_control_ts(ts))
- continue;
+ continue;
/* polling for next uplink block */
if (ul_tbf->poll_state == GPRS_RLCMAC_POLL_SCHED
&& ul_tbf->poll_fn == poll_fn)
@@ -66,6 +66,10 @@ static uint32_t sched_poll(BTS *bts,
/* this trx, this ts */
if (dl_tbf->trx->trx_no != trx || !dl_tbf->is_control_ts(ts))
continue;
+
+// FIXME: add _state and scheduling here for PTSR
+
+
/* polling for next uplink block */
if (dl_tbf->poll_state == GPRS_RLCMAC_POLL_SCHED
&& dl_tbf->poll_fn == poll_fn)
@@ -119,7 +123,7 @@ static struct msgb *sched_select_ctrl_msg(
uint8_t block_nr, struct gprs_rlcmac_pdch *pdch,
struct gprs_rlcmac_tbf *ul_ass_tbf,
struct gprs_rlcmac_tbf *dl_ass_tbf,
- struct gprs_rlcmac_ul_tbf *ul_ack_tbf)
+ struct gprs_rlcmac_ul_tbf *ul_ack_tbf) // FIXME: add one more parameter and corresponding logic for PTSR
{
struct msgb *msg = NULL;
struct gprs_rlcmac_tbf *tbf = NULL;