summaryrefslogtreecommitdiffstats
path: root/sysinfo
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-15 23:59:49 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-15 23:59:49 +0200
commit8c5b3254834af454c8881f132271ddfd79f578d4 (patch)
treee2b96a103087955361e43256b97a6c8e81d104c1 /sysinfo
parent9afea36bc2aac3dae44d0c06fc3814c01230db31 (diff)
GSM_SystemInformation: Add support for "OTHER" SIs
This way we can process SIs for which we don't have a more detailed parser code and simply store their L3 as octetstring.
Diffstat (limited to 'sysinfo')
-rw-r--r--sysinfo/GSM_SystemInformation.ttcn4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysinfo/GSM_SystemInformation.ttcn b/sysinfo/GSM_SystemInformation.ttcn
index 1bfc7a4..86cba2a 100644
--- a/sysinfo/GSM_SystemInformation.ttcn
+++ b/sysinfo/GSM_SystemInformation.ttcn
@@ -232,7 +232,8 @@ module GSM_SystemInformation {
SystemInformationType5 si5,
SystemInformationType5bis si5bis,
SystemInformationType5ter si5ter,
- SystemInformationType6 si6
+ SystemInformationType6 si6,
+ octetstring other
} with { variant "" };
type record SystemInformation {
@@ -248,6 +249,7 @@ module GSM_SystemInformation {
si5bis, header.message_type = SYSTEM_INFORMATION_TYPE_5bis;
si5ter, header.message_type = SYSTEM_INFORMATION_TYPE_5ter;
si6, header.message_type = SYSTEM_INFORMATION_TYPE_6;
+ other, OTHERWISE;
)" };
external function enc_SystemInformation(in SystemInformation si) return octetstring