aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-trx/scheduler_trx.c3
1 files changed, 2 insertions, 1 deletions
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;