From 1ea7fd06098132ec709a6497484babea6c37e6e4 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 10 Jul 2019 22:58:33 +0700 Subject: osmo-bts-trx/scheduler: rx_rach_fn(): clarify handover RACH handling Change-Id: I3da39d48052af1759297f4ad75c220b3046c0691 --- src/osmo-bts-trx/scheduler_trx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index 00d7bbb5..cd3dbf40 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -793,7 +793,8 @@ int rx_rach_fn(struct l1sched_trx *l1t, enum trx_chan_type chan, enum rach_synch_seq_t synch_seq = RACH_SYNCH_SEQ_TS0; int best_score = 127 * RACH_SYNCH_SEQ_LEN; - /* Handover RACH cannot be extended (11-bit) */ + /* If chan != TRXC_RACH, this is a handover RACH, which is always encoded + * as 8-bit and should contain the generic training sequence (TS0). */ if (chan == TRXC_RACH) { if (bi->flags & TRX_BI_F_TS_INFO) synch_seq = (enum rach_synch_seq_t) bi->tsc; -- cgit v1.2.3