Change in osmo-ttcn3-hacks[master]: library/RSL_Types: add matching templates for BS Power Control

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 Jun 29 23:01:15 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24809 )


Change subject: library/RSL_Types: add matching templates for BS Power Control
......................................................................

library/RSL_Types: add matching templates for BS Power Control

Change-Id: Iceba738f71043dc22880d085836f8be9d14821ab
Related: SYS#4919
---
M library/RSL_Types.ttcn
1 file changed, 19 insertions(+), 0 deletions(-)



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

diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 10284b8..28ae971 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -448,6 +448,15 @@
 		fpc := fpc,
 		power_level := power_level
 	}
+	template RSL_IE_BS_Power
+	tr_RSL_IE_BS_Power(template (present) uint4_t power_level,
+			   template (present) boolean epc := ?,
+			   template (present) boolean fpc := ?) := {
+		reserved := ?,
+		epc := epc,
+		fpc := fpc,
+		power_level := power_level
+	}
 
 	/* 9.3.7 */
 	type enumerated RSL_AlgId {
@@ -1622,6 +1631,16 @@
 			/* One optional IE: BS POWER PARAMETERS */
 		}
 	}
+	template RSL_Message tr_RSL_BS_PWR_CTRL(template (present) RslChannelNr chan_nr,
+						template (present) RSL_IE_BS_Power bs_power) := {
+		msg_disc := tr_RSL_MsgDisc(RSL_MDISC_DCHAN, false),
+		msg_type := RSL_MT_BS_POWER_CONTROL,
+		ies := {
+			tr_RSL_IE(RSL_IE_Body:{chan_nr := chan_nr}),
+			tr_RSL_IE(RSL_IE_Body:{bs_power := bs_power})
+			/* One optional IE: BS POWER PARAMETERS */
+		}
+	}
 
 	/* 8.4.19 BTS -> BSC */
 	template (value) RSL_Message ts_RSL_RF_CHAN_REL_ACK(template (value) RslChannelNr chan_nr) :=

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24809
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: Iceba738f71043dc22880d085836f8be9d14821ab
Gerrit-Change-Number: 24809
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/20210629/2b12dc1f/attachment.htm>


More information about the gerrit-log mailing list