diff options
author | Minh-Quang Nguyen <minh-quang.nguyen@nutaq.com> | 2017-11-15 13:08:30 -0500 |
---|---|---|
committer | Daniel Willmann <dwillmann@sysmocom.de> | 2019-03-21 13:22:23 +0100 |
commit | 361b9cf3c495a5072dd8838ca29c5e4c2d1f523c (patch) | |
tree | 7c977fc133afe3f25b30ecd23387dba7e500dd28 | |
parent | bc7fce3f0322a08a2c1389de28c6eab0d3ce2fcb (diff) |
OC-2G: Always use positive TA information provided in PH-RA-IND
Change-Id: Ia526f712b95eb7bba99252f2a348d9fb5d2f3838
-rw-r--r-- | src/osmo-bts-oc2g/oc2g_l1_if.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmo-bts-oc2g/oc2g_l1_if.c b/src/osmo-bts-oc2g/oc2g_l1_if.c index ccf74316..80b9dbcc 100644 --- a/src/osmo-bts-oc2g/oc2g_l1_if.c +++ b/src/osmo-bts-oc2g/oc2g_l1_if.c @@ -248,9 +248,10 @@ static int handle_ph_ra_ind(struct oc2gl1_hdl *fl1h, GsmL1_PhRaInd_t *ra_ind) if (ra_ind->measParam.fLinkQuality < MIN_QUAL_RACH) return 0; - DEBUGP(DL1IF, "Rx PH-RA.ind"); + LOGP(DL1IF, LOGL_DEBUG, "PH-RA-IND L1 qta=%d\n", ra_ind->measParam.i16BurstTiming); + bts_update_tbf_ta("PH-RA", ra_ind->u32Fn, fl1h->trx_no, ra_ind->u8Tn, - sign_qta2ta(ra_ind->measParam.i16BurstTiming), true); + qta2ta(ra_ind->measParam.i16BurstTiming), true); return 0; } |