library/GSM_SystemInformation: move 'MobileAllocationT' to GSM_RR_Types
Change-Id: I149cf58c4bc1a8e08c69c52eb567706a0de4f9f1
diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 470d68c..76b03a9 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -302,6 +302,11 @@
variant (ma) "BYTEORDER(first), BITORDER(msb)"
};
+ type record MobileAllocationTLV {
+ OCT1 iei ('72'O),
+ MobileAllocationLV v
+ } with { variant "" };
+
/* 10.5.2.25a */
type record PktChDesc0Ind {
uint6_t maio,
diff --git a/library/GSM_SystemInformation.ttcn b/library/GSM_SystemInformation.ttcn
index 9113583..85abb7f 100644
--- a/library/GSM_SystemInformation.ttcn
+++ b/library/GSM_SystemInformation.ttcn
@@ -86,13 +86,6 @@
template ControlChannelDescription t_ControlChannelDescription := { ?, ?, ?, ?, ?, ?, '00'B, ?, ? };
- /* 44.018 10.5.2.21 */
- type record MobileAllocationT {
- OCT1 iei,
- uint8_t len,
- bitstring ma
- } with { variant "" };
-
/* 44.018 10.5.2.22 */
type octetstring NeighbourCellDescription with { variant "FIELDLENGTH(16)" };
@@ -175,7 +168,7 @@
CellSelectionParameters cell_sel_par,
RachControlParameters rach_control,
ChannelDescriptionTV cbch_chan_desc optional,
- MobileAllocationT cbch_mobile_alloc optional,
+ MobileAllocationTLV cbch_mobile_alloc optional,
SI4RestOctets rest_octets /* see 10.5.2.35 */
} with { variant "TAG(cbch_chan_desc, iei = '64'O; cbch_mobile_alloc, iei = '72'O)" };