aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-06-30 00:51:48 +0200
committerfixeria <vyanitskiy@sysmocom.de>2021-06-30 10:20:33 +0000
commit2a5a1ef401c08dd4d2d3fb98cf600a8b36f51162 (patch)
tree7b02fc2606ce670174dc0cd402c843f3e0e5343c
parent6860e864d856e2b01688cfd2f4d4931db4dceb59 (diff)
library/RSL_Types: add matching templates for BS Power Control
-rw-r--r--library/RSL_Types.ttcn19
1 files changed, 19 insertions, 0 deletions
diff --git a/library/RSL_Types.ttcn b/library/RSL_Types.ttcn
index 10284b89..28ae9711 100644
--- a/library/RSL_Types.ttcn
+++ b/library/RSL_Types.ttcn
@@ -448,6 +448,15 @@ module RSL_Types {
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 @@ template RSL_Message tr_RSL_MsgTypeDR(template RSL_MessageType msg_type) modifie
/* 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) :=