Change in osmo-bsc[master]: Fix MEAS parsing, as Ericsson RBS reports TA shifted by 2 bits.

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Sep 28 18:54:18 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/25607 )

Change subject: Fix MEAS parsing, as Ericsson RBS reports TA shifted by 2 bits.
......................................................................

Fix MEAS parsing, as Ericsson RBS reports TA shifted by 2 bits.

This fixes call setup issues when more than ~1km from the tower.

NOTE: We use the last reported TA from the UE in the CHANnel ACTIVation.
When the UE is more than 1km from the tower, (unshifted) TA in the
measurement report can be 8 or greater. Once we send TA of 8 in the
CHAN ACTIV message, the lchan is unrecoverable.

Change-Id: I1c9bd5bf2fd126e62bcbec419f3499d2e0465559
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index c7399eb..fb8e386 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -1319,9 +1319,10 @@
 		if (val[0] & 0x04)
 			mr->flags |= MEAS_REP_F_FPC;
 		mr->ms_l1.ta = val[1];
-		/* BS11 and Nokia reports TA shifted by 2 bits */
+		/* BS11, Nokia and RBS report TA shifted by 2 bits */
 		if (msg->lchan->ts->trx->bts->type == GSM_BTS_TYPE_BS11
-		 || msg->lchan->ts->trx->bts->type == GSM_BTS_TYPE_NOKIA_SITE)
+		 || msg->lchan->ts->trx->bts->type == GSM_BTS_TYPE_NOKIA_SITE
+		 || msg->lchan->ts->trx->bts->type == GSM_BTS_TYPE_RBS2000)
 			mr->ms_l1.ta >>= 2;
 		/* store TA for handover decision, and for intra-cell re-assignment */
 		mr->lchan->last_ta = mr->ms_l1.ta;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/25607
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I1c9bd5bf2fd126e62bcbec419f3499d2e0465559
Gerrit-Change-Number: 25607
Gerrit-PatchSet: 2
Gerrit-Owner: keith <keith at rhizomatica.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210928/c3cf6687/attachment.htm>


More information about the gerrit-log mailing list