summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2020-05-03 22:35:58 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2020-05-03 22:48:23 +0700
commitedae16aaa3769e3c1013b21b901f227b9e211629 (patch)
tree9351cba2b8672a6579e698afc990b54d1010c6d9 /library
parent3c74a1113a0a9936bc630b81249a6c4921f73c93 (diff)
library: System Information: use RestOctets where possible
The 'RestOctets' is a sub-type of the 'octetstring' with additional padding attributes. Let's use it for SI2bis, SI2ter, and SI6 too. Change-Id: I183d3ba9000e3ced8ecce74a4390b80075ddf25d Signed-off-by: Vadim Yanitskiy <axilirator@gmail.com>
Diffstat (limited to 'library')
-rw-r--r--library/GSM_SystemInformation.ttcn18
1 files changed, 12 insertions, 6 deletions
diff --git a/library/GSM_SystemInformation.ttcn b/library/GSM_SystemInformation.ttcn
index a4688cd..4cabd77 100644
--- a/library/GSM_SystemInformation.ttcn
+++ b/library/GSM_SystemInformation.ttcn
@@ -135,14 +135,18 @@ module GSM_SystemInformation {
type record SystemInformationType2bis {
NeighbourCellDescription extd_bcch_freq_list,
RachControlParameters rach_control,
- OCT1 rest_octets
- } with { variant "" };
+ RestOctets rest_octets
+ } with {
+ variant (rest_octets) "FIELDLENGTH(1)"
+ };
/* 44.018 9.1.34 */
type record SystemInformationType2ter {
NeighbourCellDescription2 extd_bcch_freq_list,
- OCT4 rest_octets
- } with { variant "" };
+ RestOctets rest_octets
+ } with {
+ variant (rest_octets) "FIELDLENGTH(4)"
+ };
/* 44.018 9.1.35 */
type record SystemInformationType3 {
@@ -199,8 +203,10 @@ module GSM_SystemInformation {
LocationAreaIdentification lai,
CellOptionsSacch cell_options,
BIT8 ncc_permitted,
- OCT7 rest_octets
- } with { variant "" };
+ RestOctets rest_octets
+ } with {
+ variant (rest_octets) "FIELDLENGTH(7)"
+ };
type union SystemInformationUnion {
SystemInformationType1 si1,