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.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13096
Change subject: PCUIF_Types: Add enumerated PCUIF_BurstType
......................................................................
PCUIF_Types: Add enumerated PCUIF_BurstType
Change-Id: Ib2e2effb818da5d259032ee5b8b25788ebc646c0
---
M library/PCUIF_Types.ttcn
1 file changed, 10 insertions(+), 3 deletions(-)
  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/96/13096/1
diff --git a/library/PCUIF_Types.ttcn b/library/PCUIF_Types.ttcn
index 3215c4b..83e32fc 100644
--- a/library/PCUIF_Types.ttcn
+++ b/library/PCUIF_Types.ttcn
@@ -108,6 +108,13 @@
 	uint8_t		block_nr
 } with { variant "" };
 
+type enumerated PCUIF_BurstType {
+	BURST_TYPE_NONE	(0),
+	BURST_TYPE_0	(1),
+	BURST_TYPE_1	(2),
+	BURST_TYPE_2	(3)
+} with { variant "FIELDLENGTH(8)" };
+
 type record PCUIF_rach_ind {
 	PCUIF_Sapi	sapi,
 	uint16_t	ra,
@@ -115,7 +122,7 @@
 	uint32_t	fn,
 	uint16_t	arfcn,
 	uint8_t		is_11bit,
-	uint8_t		burst_type
+	PCUIF_BurstType	burst_type
 } with { variant "" };
 
 type record PCUIF_InfoTrx {
@@ -531,7 +538,7 @@
 template (value) PCUIF_Message ts_PCUIF_RACH_IND(template (value) uint8_t bts_nr,
 						 template (value) uint16_t ra,
 						 template (value) uint8_t is_11bit,
-						 template (value) uint8_t burst_type,
+						 template (value) PCUIF_BurstType burst_type,
 						 template (value) uint32_t fn,
 						 template (value) uint16_t arfcn,
 						 template (value) int16_t qta := 0
@@ -554,7 +561,7 @@
 template PCUIF_Message tr_PCUIF_RACH_IND(template uint8_t bts_nr := ?,
 					 template uint16_t ra := ?,
 					 template uint8_t is_11bit := ?,
-					 template uint8_t burst_type := ?,
+					 template PCUIF_BurstType burst_type := ?,
 					 template uint32_t fn := ?) := {
 	msg_type := PCU_IF_MSG_RACH_IND,
 	bts_nr := bts_nr,
-- 
To view, visit https://gerrit.osmocom.org/13096
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2e2effb818da5d259032ee5b8b25788ebc646c0
Gerrit-Change-Number: 13096
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190301/8b72293e/attachment.htm>