Hi All,
I am working in ranap encoding/decoding. In the specification the following are defined.
Can anybody explain me the encoding of iE-Extensions in AllocationOrRetentionPriority and
CriticalityDiagnostics-IE.
 
RANAP-PROTOCOL-EXTENSION ::= CLASS {
 &id    ProtocolExtensionID     UNIQUE,
 &criticality   Criticality,
 &Extension,
 &presence  Presence
}
WITH SYNTAX {
 ID    &id
 CRITICALITY   &criticality
 EXTENSION   &Extension
 PRESENCE  &presence
}
 

ProtocolExtensionContainer {RANAP-PROTOCOL-EXTENSION : ExtensionSetParam} ::=
 SEQUENCE (SIZE (1..maxProtocolExtensions)) OF
 ProtocolExtensionField {{ExtensionSetParam}}
 
ProtocolExtensionField {RANAP-PROTOCOL-EXTENSION : ExtensionSetParam} ::= SEQUENCE {
 id    RANAP-PROTOCOL-EXTENSION.&id   ({ExtensionSetParam}),
 criticality   RANAP-PROTOCOL-EXTENSION.&criticality  ([EMAIL PROTECTED]}),
 extensionValue   RANAP-PROTOCOL-EXTENSION.&Extension  ([EMAIL PROTECTED]})
}
 
AllocationOrRetentionPriority ::= SEQUENCE {
 priorityLevel   PriorityLevel,
 pre-emptionCapability  Pre-emptionCapability,
 pre-emptionVulnerability Pre-emptionVulnerability,
 queuingAllowed   QueuingAllowed,
 iE-Extensions   ProtocolExtensionContainer { {AllocationOrRetentionPriority-ExtIEs} } OPTIONAL,
 ...
}
 
AllocationOrRetentionPriority-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
 ...
}
 
CriticalityDiagnostics-IE ::= SEQUENCE
{
    iECriticality  Criticality,
 iE-ID    ProtocolIE-ID,
 repetitionNumber RepetitionNumber0  OPTIONAL,
    iE-Extensions  SEQUENCE (SIZE (1..maxProtocolExtensions)) OF CriticalityDiagnostics-IE-List-ExtIEs OPTIONAL,
 ...
}
 
CriticalityDiagnostics-IE-List-ExtIEs RANAP-PROTOCOL-EXTENSION ::= {
-- Extension for Release 99 to enable reporting the message structure down to the erroneous IE --
 { ID id-MessageStructure CRITICALITY ignore  EXTENSION MessageStructure PRESENCE optional }|
-- Extension for Release 99 to enable reporting if a reported error is due to a not understood or a missing IE --
 { ID id-TypeOfError  CRITICALITY ignore  EXTENSION TypeOfError  PRESENCE mandatory },
 ...
}
 
1. How is the encoding of iE-Extensions in AllocationOrRetentionPriority
   Is it equivalent to the
 
   SEQUENCE (SIZE (1..maxProtocolExtensions)) OF SEQUENCE { ... }
 
2. How is the encoding of iE-Extensions in CriticalityDiagnostics-IE
 

Thanks
Manikandan
 
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to