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

fixeria gerrit-no-reply at lists.osmocom.org
Wed Jun 30 10:20:33 UTC 2021


fixeria has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



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: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210630/d3cff6f8/attachment.htm>


More information about the gerrit-log mailing list