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

fixeria gerrit-no-reply at lists.osmocom.org
Sat Nov 14 15:02:57 UTC 2020


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/49/21149/1

diff --git a/library/GSM_Types.ttcn b/library/GSM_Types.ttcn
index 7572b7d..c6b83fa 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) "FIELDLENGTH(10)"
@@ -40,15 +41,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: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201114/6c96c2db/attachment.htm>


More information about the gerrit-log mailing list