Change in osmocom-bb[master]: trxcon: fix tail bits at the front of Access burst

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jul 16 08:09:41 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/10001 )

Change subject: trxcon: fix tail bits at the front of Access burst
......................................................................

trxcon: fix tail bits at the front of Access burst

Currently Access Burst generated by trxcon
has 8 zero bits at the beginning. According to
the 3GPP 05.02 specification (Chapter 5.2.7
Access burst) custom 8-bit extended tail bits
sequence should be used:
(BN0, BN1, BN2 ... BN7) = (0,0,1,1,1,0,1,0)

After this fix trxcon sets correct 8-bit
sequence at the front of Access burst.

Change-Id: I1f624e783de6c585d2e292965c9e5810b0a4f27d
---
M src/host/trxcon/sched_lchan_rach.c
1 file changed, 10 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/src/host/trxcon/sched_lchan_rach.c b/src/host/trxcon/sched_lchan_rach.c
index 2a09a37..3f6e2e1 100644
--- a/src/host/trxcon/sched_lchan_rach.c
+++ b/src/host/trxcon/sched_lchan_rach.c
@@ -42,6 +42,15 @@
 #include "l1ctl.h"
 
 /**
+ * 8-bit RACH extended tail bits
+ * GSM 05.02 Chapter 5.2.7 Access burst (AB)
+ */
+
+static ubit_t rach_ext_tail_bits[] = {
+	0, 0, 1, 1, 1, 0, 1, 0,
+};
+
+/**
  * 41-bit RACH synchronization sequence
  * GSM 05.02 Chapter 5.2.7 Access burst (AB)
  */
@@ -79,7 +88,7 @@
 	}
 
 	/* Compose RACH burst */
-	memset(burst, 0, 8); /* TB */
+	memcpy(burst, rach_ext_tail_bits, 8); /* TB */
 	memcpy(burst + 8, rach_synch_seq, 41); /* sync seq */
 	memcpy(burst + 49, payload, 36); /* payload */
 	memset(burst + 85, 0, 63); /* TB + GP */

-- 
To view, visit https://gerrit.osmocom.org/10001
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1f624e783de6c585d2e292965c9e5810b0a4f27d
Gerrit-Change-Number: 10001
Gerrit-PatchSet: 1
Gerrit-Owner: Piotr Krysik <ptrkrysik at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180716/6b89a8ac/attachment.htm>


More information about the gerrit-log mailing list