summaryrefslogtreecommitdiffstats
path: root/library/GSM_SystemInformation.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/GSM_SystemInformation.ttcn')
-rw-r--r--library/GSM_SystemInformation.ttcn32
1 files changed, 11 insertions, 21 deletions
diff --git a/library/GSM_SystemInformation.ttcn b/library/GSM_SystemInformation.ttcn
index 07ca8e6..de1fcf7 100644
--- a/library/GSM_SystemInformation.ttcn
+++ b/library/GSM_SystemInformation.ttcn
@@ -119,10 +119,8 @@ module GSM_SystemInformation {
type record SystemInformationType1 {
CellChannelDescription cell_chan_desc,
RachControlParameters rach_control,
- RestOctets rest_octets
- } with {
- variant (rest_octets) "FIELDLENGTH(1)"
- };
+ RestOctets rest_octets length(0..1)
+ } with { variant "" };
/* 44.018 9.1.32 */
type record SystemInformationType2 {
@@ -135,18 +133,14 @@ module GSM_SystemInformation {
type record SystemInformationType2bis {
NeighbourCellDescription extd_bcch_freq_list,
RachControlParameters rach_control,
- RestOctets rest_octets
- } with {
- variant (rest_octets) "FIELDLENGTH(1)"
- };
+ RestOctets rest_octets length(0..1)
+ } with { variant "" };
/* 44.018 9.1.34 */
type record SystemInformationType2ter {
NeighbourCellDescription2 extd_bcch_freq_list,
- RestOctets rest_octets
- } with {
- variant (rest_octets) "FIELDLENGTH(4)"
- };
+ RestOctets rest_octets length(0..4)
+ } with { variant "" };
/* 44.018 9.1.35 */
type record SystemInformationType3 {
@@ -156,10 +150,8 @@ module GSM_SystemInformation {
CellOptions cell_options,
CellSelectionParameters cell_sel_par,
RachControlParameters rach_control,
- RestOctets rest_octets
- } with {
- variant (rest_octets) "FIELDLENGTH(4)"
- };
+ RestOctets rest_octets length(0..4)
+ } with { variant "" };
template SystemInformationType3 t_SI3 := {
cell_id := ?,
@@ -179,7 +171,7 @@ module GSM_SystemInformation {
RachControlParameters rach_control,
ChannelDescriptionTV cbch_chan_desc optional,
MobileAllocationT cbch_mobile_alloc optional,
- RestOctets rest_octets /* 0 .. 10 octets (see 10.5.2.35) */
+ RestOctets rest_octets length(0..10) /* see 10.5.2.35 */
} with { variant "TAG(cbch_chan_desc, iei = '64'O; cbch_mobile_alloc, iei = '72'O)" };
/* 44.018 9.1.37 */
@@ -203,10 +195,8 @@ module GSM_SystemInformation {
LocationAreaIdentification lai,
CellOptionsSacch cell_options,
BIT8 ncc_permitted,
- RestOctets rest_octets
- } with {
- variant (rest_octets) "FIELDLENGTH(7)"
- };
+ RestOctets rest_octets length(0..7)
+ } with { variant "" };
type union SystemInformationUnion {
SystemInformationType1 si1,