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-21 13:22:23 +0100
commit361b9cf3c495a5072dd8838ca29c5e4c2d1f523c (patch)
tree7c977fc133afe3f25b30ecd23387dba7e500dd28
parentbc7fce3f0322a08a2c1389de28c6eab0d3ce2fcb (diff)
OC-2G: Always use positive TA information provided in PH-RA-IND
-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;
}