aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinh-Quang Nguyen <minh-quang.nguyen@nutaq.com>2017-11-15 13:08:30 -0500
committerDaniel Willmann <dwillmann@sysmocom.de>2019-03-27 14:20:21 +0100
commitba66ea440645ae26dbdecaefe33ff8bb2c31a328 (patch)
tree56a4bb0ff247703cc5d54f309171562073a28a24
parent2ba608415bc9655703c9b29aa4781e4a417e0990 (diff)
OC-2G: Always use positive TA information provided in PH-RA-IND
From-Commit: 960aa3d1b0b1 From-Remote: https://gitlab.com/nrw_noa/osmo-pcu Change-Id: Ia526f712b95eb7bba99252f2a348d9fb5d2f3838
-rw-r--r--src/osmo-bts-oc2g/oc2g_l1_if.c5
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 ccf7431..80b9dbc 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;
}