aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-17 23:17:21 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-18 13:35:58 +0100
commit93690184b0f44d1436189d1504409a26dbbe8157 (patch)
tree35a9936c2d06ba3e00eccbc468ef439acd0ceec0 /asn1
parent091039d47e619c01979a4d6fb278b7fb0528e29d (diff)
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.
Diffstat (limited to 'asn1')
-rw-r--r--asn1/ranap/RANAP-IEs.asn6
1 files changed, 4 insertions, 2 deletions
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" --,