diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-11-04 13:31:41 +0000 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2020-11-26 09:22:38 +0000 |
commit | 61585254338d16bb359987ad1f4537900e6288db (patch) | |
tree | 5c866dbc8eeeae5d0b03b95f6f25e79386dbb45d | |
parent | 1c05ef15ecb1a9053112b2c11bb5c062cee06478 (diff) |
part 3 of: fix SAPIs for handover, osmo-bts-trx
Change-Id: I0b34855f0374e9ee7071ce14c1472eb3ead50970
-rw-r--r-- | src/common/scheduler.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/scheduler.c b/src/common/scheduler.c index b61330d2..84918e31 100644 --- a/src/common/scheduler.c +++ b/src/common/scheduler.c @@ -858,6 +858,12 @@ static int rts_data_fn(struct l1sched_trx *l1t, uint8_t tn, uint32_t fn, return -ENODEV; } + /* For handover detection, there are cases where the SACCH should remain inactive until the first RACH + * indicating the TA is received. */ + if (L1SAP_IS_LINK_SACCH(link_id) + && !l1t->ts[tn].chan_state[chan].lchan->want_dl_sacch_active) + return 0; + LOGL1S(DL1P, LOGL_DEBUG, l1t, tn, chan, fn, "PH-RTS.ind: chan_nr=0x%02x link_id=0x%02x\n", chan_nr, link_id); |