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.
This commit is contained in:
Harald Welte 2017-07-15 23:59:49 +02:00
parent 9afea36bc2
commit 8c5b325483
1 changed files with 3 additions and 1 deletions

View File

@ -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