Change in osmo-ttcn3-hacks[master]: L1CTL_Types.ttcn: drop length limitation for traffic messages

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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sun Oct 28 17:20:39 UTC 2018


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/11490


Change subject: L1CTL_Types.ttcn: drop length limitation for traffic messages
......................................................................

L1CTL_Types.ttcn: drop length limitation for traffic messages

There is no any reason to limit payload length.

Change-Id: I1782856affe427b087fa3f7ef1c02a865d136372
---
M library/L1CTL_Types.ttcn
1 file changed, 1 insertion(+), 3 deletions(-)



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

diff --git a/library/L1CTL_Types.ttcn b/library/L1CTL_Types.ttcn
index 39732be..4273ba3 100644
--- a/library/L1CTL_Types.ttcn
+++ b/library/L1CTL_Types.ttcn
@@ -83,8 +83,6 @@
 		L1CTL_RES_T_SCHED
 	} with { variant "FIELDLENGTH(8)" };
 
-	const integer TRAFFIC_DATA_LEN := 40;
-
 	type record L1ctlHdrFlags {
 		BIT7	padding,
 		boolean f_done
@@ -299,7 +297,7 @@
 
 
 	type record L1ctlTrafficReq {
-		octetstring	data length(TRAFFIC_DATA_LEN)
+		octetstring	data
 	} with {
 		variant (data) "BYTEORDER(first)"
 	}

-- 
To view, visit https://gerrit.osmocom.org/11490
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: I1782856affe427b087fa3f7ef1c02a865d136372
Gerrit-Change-Number: 11490
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181028/c78c1fc8/attachment.htm>


More information about the gerrit-log mailing list