From 93690184b0f44d1436189d1504409a26dbbe8157 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 17 Dec 2015 23:17:21 +0100 Subject: RANAP: Split FormatInformationParameter / SDUParameterItem The definition of the above data types as per 3GPP specs results in a SEQUENCE_OF() an anonymous structure, which is slightly inconvenient to use. So let's split the SEQUENCE OF part and the actual definition of the item in separate types. --- asn1/ranap/RANAP-IEs.asn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'asn1') diff --git a/asn1/ranap/RANAP-IEs.asn b/asn1/ranap/RANAP-IEs.asn index 8d09bee..9593ee8 100644 --- a/asn1/ranap/RANAP-IEs.asn +++ b/asn1/ranap/RANAP-IEs.asn @@ -1745,7 +1745,8 @@ SDU-ErrorRatio ::= SEQUENCE { } -- SDU-ErrorRatio = mantissa * 10^-exponent -SDU-FormatInformationParameters ::= SEQUENCE (SIZE (1..maxRAB-SubflowCombination)) OF +SDU-FormatInformationParameters ::= SEQUENCE (SIZE (1..maxRAB-SubflowCombination)) OF SDU-FormatInformationParameterItem +SDU-FormatInformationParameterItem ::= SEQUENCE { subflowSDU-Size SubflowSDU-Size OPTIONAL, rAB-SubflowCombinationBitRate RAB-SubflowCombinationBitRate OPTIONAL, @@ -1753,7 +1754,8 @@ SDU-FormatInformationParameters ::= SEQUENCE (SIZE (1..maxRAB-SubflowCombination ... } -SDU-Parameters ::= SEQUENCE (SIZE (1..maxRAB-Subflows)) OF +SDU-Parameters ::= SEQUENCE (SIZE (1..maxRAB-Subflows)) OF SDU-ParameterItem +SDU-ParameterItem ::= SEQUENCE { sDU-ErrorRatio SDU-ErrorRatio OPTIONAL -- This IE shall be present if the Delivery Of Erroneous SDU IE is set to "Yes" or "No" --, -- cgit v1.2.3