Change in osmo-ttcn3-hacks[master]: library/RSL_Types: add templates for RSL_IE_OSMO_TopAcchCap

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
Tue Nov 9 12:57:50 UTC 2021


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

Change subject: library/RSL_Types: add templates for RSL_IE_OSMO_TopAcchCap
......................................................................

library/RSL_Types: add templates for RSL_IE_OSMO_TopAcchCap

Change-Id: If2e287699925c6bb7f93439d0729e16682fab019
Related: SYS#5319
---
M library/RSL_Types.ttcn
1 file changed, 23 insertions(+), 0 deletions(-)

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



diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 1f602b9..1057f0b 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -893,6 +893,29 @@
 		uint3_t			overpower_db
 	} with { variant (len) "LENGTHTO(sacch_enable,facch_enable,rxqual,overpower_db)" }
 
+	template (value) RSL_IE_OSMO_TopAcchCap
+	ts_RSL_IE_OSMO_TopAcchCap(template (value) uint3_t overpower := 2,
+				  template (value) uint3_t rxqual := 4,
+				  boolean facch_enable := true,
+				  boolean sacch_enable := true) := {
+		len := 0, /* overwritten */
+		sacch_enable := sacch_enable,
+		facch_enable := facch_enable,
+		rxqual := rxqual,
+		overpower_db := overpower
+	};
+	template RSL_IE_OSMO_TopAcchCap
+	tr_RSL_IE_OSMO_TopAcchCap(template (present) uint3_t overpower := ?,
+				  template (present) uint3_t rxqual := ?,
+				  template (present) boolean facch_enable := ?,
+				  template (present) boolean sacch_enable := ?) := {
+		len := ?, /* overwritten */
+		sacch_enable := sacch_enable,
+		facch_enable := facch_enable,
+		rxqual := rxqual,
+		overpower_db := overpower
+	};
+
 	/* union of all IE bodies */
 	type union RSL_IE_Body {
 		RslChannelNr		chan_nr,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26135
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: If2e287699925c6bb7f93439d0729e16682fab019
Gerrit-Change-Number: 26135
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
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/20211109/e64ceb1d/attachment.htm>


More information about the gerrit-log mailing list