Change in ...osmo-bts[master]: common/l1sap: increase ToA precision for packet Access Bursts

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Oct 2 16:30:06 UTC 2019


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/15658


Change subject: common/l1sap: increase ToA precision for packet Access Bursts
......................................................................

common/l1sap: increase ToA precision for packet Access Bursts

QTA is a Timing Advance value in units of 1/4 of a symbol. Let's
use ToA256 (1/256 of a symbol) field of L1SAP RACH.ind as a base
for QTA calculation in order to achieve better precision.

Change-Id: I6e6fa7985c430a9bdbd12af2a8b2a5a66f11a41c
---
M src/common/l1sap.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/58/15658/1

diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index 0409e2e..c6dfee2 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -1358,7 +1358,8 @@
 		LOGPFN(DL1P, LOGL_INFO, rach_ind->fn, "RACH for packet access (toa=%d, ra=%d)\n",
 			rach_ind->acc_delay, rach_ind->ra);
 
-		pcu_tx_rach_ind(bts, rach_ind->acc_delay << 2,
+		/* QTA: Timing Advance in units of 1/4 of a symbol */
+		pcu_tx_rach_ind(bts, rach_ind->acc_delay_256bits >> 6,
 			rach_ind->ra, rach_ind->fn, rach_ind->is_11bit,
 			rach_ind->burst_type, PCU_IF_SAPI_RACH);
 		return 0;

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6e6fa7985c430a9bdbd12af2a8b2a5a66f11a41c
Gerrit-Change-Number: 15658
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191002/e8c6ba45/attachment.htm>


More information about the gerrit-log mailing list