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 22:32:37 UTC 2018


Vadim Yanitskiy has submitted this change and it was merged. ( 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(-)

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



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: merged
Gerrit-Change-Id: I1782856affe427b087fa3f7ef1c02a865d136372
Gerrit-Change-Number: 11490
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181028/7260ad65/attachment.htm>


More information about the gerrit-log mailing list