aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/scheduler_trx.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-09 23:21:00 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-15 14:17:55 +0100
commit48726242add87e6850c64a4a6d3801a4b54084a5 (patch)
tree7a0c997f173542c76e9445ffc85b51ffbe139da3 /src/osmo-bts-trx/scheduler_trx.c
parent67311cc1f20c88a0ad0afe488ec136d985477b81 (diff)
TRX: scheduler: Remove dependency to trx_if.[ch]
Diffstat (limited to 'src/osmo-bts-trx/scheduler_trx.c')
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c
index 0aeb8359..5629a64f 100644
--- a/src/osmo-bts-trx/scheduler_trx.c
+++ b/src/osmo-bts-trx/scheduler_trx.c
@@ -1458,3 +1458,13 @@ new_clock:
return 0;
}
+
+void _sched_act_rach_det(struct l1sched_trx *l1t, uint8_t tn, uint8_t ss, int activate)
+{
+ struct trx_l1h *l1h = trx_l1h_hdl(l1t->trx);
+
+ if (activate)
+ trx_if_cmd_handover(l1h, tn, ss);
+ else
+ trx_if_cmd_nohandover(l1h, tn, ss);
+}