Change in osmo-ttcn3-hacks[master]: library/GSM_Types: add the Uplink flag to GsmBandArfcn

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
Wed Nov 25 16:05:16 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21149 )

Change subject: library/GSM_Types: add the Uplink flag to GsmBandArfcn
......................................................................

library/GSM_Types: add the Uplink flag to GsmBandArfcn

Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761
---
M library/GSM_Types.ttcn
1 file changed, 9 insertions(+), 4 deletions(-)

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



diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index d954962..e7d8a7c 100644
--- a/library/GSM_Types.ttcn
+++ b/library/GSM_Types.ttcn
@@ -32,7 +32,8 @@
 /* ARFCN with explicit band discrimination */
 type record GsmBandArfcn {
 	boolean		pcs,
-	BIT5		spare,
+	boolean		uplink,
+	BIT4		spare,
 	GsmArfcn	arfcn
 } with {
 	variant (arfcn) "BYTEORDER(last)"
@@ -41,15 +42,19 @@
 
 template (value) GsmBandArfcn
 ts_GsmBandArfcn(template (value) GsmArfcn arfcn,
-		template (value) boolean pcs := false) := {
+		template (value) boolean pcs := false,
+		template (value) boolean uplink := false) := {
 	pcs := pcs,
-	spare := '00000'B,
+	uplink := uplink,
+	spare := '0000'B,
 	arfcn := arfcn
 };
 template GsmBandArfcn
 tr_GsmBandArfcn(template (present) GsmArfcn arfcn,
-		template (present) boolean pcs := ?) := {
+		template (present) boolean pcs := ?,
+		template (present) boolean uplink := ?) := {
 	pcs := pcs,
+	uplink := uplink,
 	spare := ?,
 	arfcn := arfcn
 };

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib9bd7268b8a0fd8ed64064871c09fab35e15a761
Gerrit-Change-Number: 21149
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
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/20201125/1950ef3b/attachment.htm>


More information about the gerrit-log mailing list