aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-10 22:58:33 +0700
committerlaforge <laforge@gnumonks.org>2019-07-16 04:16:13 +0000
commit1ea7fd06098132ec709a6497484babea6c37e6e4 (patch)
treee6b97c10475cc529bed81e1c3862c0e23db51a56
parentdc48fd8810d3d8eb8486c5f72d3c738d6b15d171 (diff)
osmo-bts-trx/scheduler: rx_rach_fn(): clarify handover RACH handling
-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;