diff options
-rw-r--r-- | src/osmo-bts-trx/scheduler_trx.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index 8b0c761c..421cf16d 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -796,9 +796,10 @@ 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; - /* 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 logical channel is not either of RACH, PDTCH or PTCCH, this is a + * handover Access Burst, which is always encoded as 8-bit and shall + * contain the generic training sequence (TS0). */ + if (chan == TRXC_RACH || chan == TRXC_PDTCH || chan == TRXC_PTCCH) { if (bi->flags & TRX_BI_F_TS_INFO) synch_seq = (enum rach_synch_seq_t) bi->tsc; else |