Open Matthew-Jemielity opened 9 years ago
Here's the output witht EMIT_ASN_DEBUG set to 1:
$ ./progname -iper -dd ~/bcch-dl-sch.per AD: Processing /home/user/bcch-dl-sch.per AD: Decoding 64 bytes Decoding BCCH-DL-SCH-Message as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member message in BCCH-DL-SCH-Message (constr_SEQUENCE.c:1120)
CHOICE BCCH-DL-SCH-MessageType got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE BCCH-DL-SCH-MessageType encodes c1 (constr_CHOICE.c:892)
CHOICE c1 got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE c1 encodes systemInformation (constr_CHOICE.c:892) Decoding SystemInformation as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member criticalExtensions in SystemInformation (constr_SEQUENCE.c:1120)
CHOICE criticalExtensions got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE criticalExtensions encodes systemInformation-r8 (constr_CHOICE.c:892) Decoding SystemInformation-r8-IEs as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for SystemInformation-r8-IEs of 1 bits (0..) (constr_SEQUENCE.c:1073) Decoding member sib-TypeAndInfo in SystemInformation-r8-IEs (constr_SEQUENCE.c:1120)
Preparing to fetch 1+1 elements from sib-TypeAndInfo (constr_SET_OF.c:905) SET OF CHOICE decoding (constr_SET_OF.c:924)
Discovered CHOICE CHOICE encodes sib17-v1250 (constr_CHOICE.c:892) Getting open type SystemInformationBlockType17-r12... (per_opentype.c:70)
Getting open type SystemInformationBlockType17-r12 encoded in 0 bytes (per_opentype.c:96) Decoding SystemInformationBlockType17-r12 as SEQUENCE (UPER) >(constr_SEQUENCE.c:1050) Failed to decode sib17-v1250 in CHOICE (CHOICE) 2 (constr_CHOICE.c:904) sib-TypeAndInfo SET OF CHOICE decoded 2, 0x1f26440 (constr_SET_OF.c:928) Failed decoding CHOICE of sib-TypeAndInfo (SET OF) (constr_SET_OF.c:938) Freeing CHOICE as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformationBlockType17-r12 as SEQUENCE (constr_SEQUENCE.c:957) Failed decode sib-TypeAndInfo in SystemInformation-r8-IEs (constr_SEQUENCE.c:1125) Failed to decode systemInformation-r8 in criticalExtensions (CHOICE) 2 (constr_CHOICE.c:904) Failed decode criticalExtensions in SystemInformation (constr_SEQUENCE.c:1125) Failed to decode systemInformation in c1 (CHOICE) 2 (constr_CHOICE.c:904) Failed to decode c1 in BCCH-DL-SCH-MessageType (CHOICE) 2 (constr_CHOICE.c:904) Failed decode message in BCCH-DL-SCH-Message (constr_SEQUENCE.c:1125) AD: decode(0) consumed 0+0b (64), code 2 AD: Clean up partially decoded structure Freeing BCCH-DL-SCH-Message as SEQUENCE (constr_SEQUENCE.c:957) Freeing BCCH-DL-SCH-MessageType as CHOICE (constr_CHOICE.c:1041) Freeing c1 as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformation as SEQUENCE (constr_SEQUENCE.c:957) Freeing criticalExtensions as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformation-r8-IEs as SEQUENCE (constr_SEQUENCE.c:957) AD: ofp 1, no=0, oo=0, dbl=0 /home/user/bcch-dl-sch.per: Decode failed past byte 0: Input processing error
Ok, after more investigation I noticed that the binary file I used was mangled. It should be 49 bytes long, but was 64 bytes long. This is a link to the proper binary file: https://www.dropbox.com/s/8lcp7yblyb1hapx/bcch-dl-sch.uper?dl=0 However I'm still having problem with decoding it. I checked other ASN.1 decoding tools. FFASN1 (http://bellard.org/ffasn1/) works, uploading this binary file to http://www.marben-products.com/asn.1/services/decoder-asn1-lte.html also works. This confirms that the problem must be with asn1c.
This is the debug output I'm getting when decoding it:
$ ./progname -iper -oxer -dd ~/bcch-dl-sch.uper AD: Processing /home/user/bcch-dl-sch.uper AD: Decoding 49 bytes Decoding BCCH-DL-SCH-Message as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member message in BCCH-DL-SCH-Message (constr_SEQUENCE.c:1120)
CHOICE BCCH-DL-SCH-MessageType got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE BCCH-DL-SCH-MessageType encodes c1 (constr_CHOICE.c:892)
CHOICE c1 got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE c1 encodes systemInformation (constr_CHOICE.c:892) Decoding SystemInformation as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member criticalExtensions in SystemInformation (constr_SEQUENCE.c:1120)
CHOICE criticalExtensions got index 0 in range 1 (constr_CHOICE.c:864) Discovered CHOICE criticalExtensions encodes systemInformation-r8 (constr_CHOICE.c:892) Decoding SystemInformation-r8-IEs as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for SystemInformation-r8-IEs of 1 bits (0..) (constr_SEQUENCE.c:1073) Decoding member sib-TypeAndInfo in SystemInformation-r8-IEs (constr_SEQUENCE.c:1120)
Preparing to fetch 1+1 elements from sib-TypeAndInfo (constr_SET_OF.c:905) SET OF CHOICE decoding (constr_SET_OF.c:924)
CHOICE CHOICE got index 0 in range 4 (constr_CHOICE.c:864) Discovered CHOICE CHOICE encodes sib2 (constr_CHOICE.c:892) Decoding SystemInformationBlockType2 as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for SystemInformationBlockType2 of 2 bits (0..) (constr_SEQUENCE.c:1073)
Member SystemInformationBlockType2->ac-BarringInfo is optional, p=0 (1->2) (constr_SEQUENCE.c:1102) Decoding member radioResourceConfigCommon in SystemInformationBlockType2 (constr_SEQUENCE.c:1120) Decoding RadioResourceConfigCommonSIB as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member rach-ConfigCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding RACH-ConfigCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member preambleInfo in RACH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding preambleInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for preambleInfo of 1 bits (80..) (constr_SEQUENCE.c:1073) Decoding member numberOfRA-Preambles in preambleInfo (constr_SEQUENCE.c:1120) Decoding numberOfRA-Preambles as NativeEnumerated (NativeEnumerated.c:95)
Decoded numberOfRA-Preambles = 12 (NativeEnumerated.c:123)
Member preambleInfo->preamblesGroupAConfig is optional, p=1 (1->1) (constr_SEQUENCE.c:1102) Decoding member preamblesGroupAConfig in preambleInfo (constr_SEQUENCE.c:1120) Decoding preamblesGroupAConfig as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member sizeOfRA-PreamblesGroupA in preamblesGroupAConfig (constr_SEQUENCE.c:1120) Decoding sizeOfRA-PreamblesGroupA as NativeEnumerated (NativeEnumerated.c:95)
Decoded sizeOfRA-PreamblesGroupA = 6 (NativeEnumerated.c:123) Decoding member messageSizeGroupA in preamblesGroupAConfig (constr_SEQUENCE.c:1120) Decoding messageSizeGroupA as NativeEnumerated (NativeEnumerated.c:95)
Decoded messageSizeGroupA = 0 (NativeEnumerated.c:123) Decoding member messagePowerOffsetGroupB in preamblesGroupAConfig (constr_SEQUENCE.c:1120) Decoding messagePowerOffsetGroupB as NativeEnumerated (NativeEnumerated.c:95)
Decoded messagePowerOffsetGroupB = 4 (NativeEnumerated.c:123) Decoding member powerRampingParameters in RACH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding PowerRampingParameters as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member powerRampingStep in PowerRampingParameters (constr_SEQUENCE.c:1120) Decoding powerRampingStep as NativeEnumerated (NativeEnumerated.c:95)
Decoded powerRampingStep = 1 (NativeEnumerated.c:123) Decoding member preambleInitialReceivedTargetPower in PowerRampingParameters (constr_SEQUENCE.c:1120) Decoding preambleInitialReceivedTargetPower as NativeEnumerated (NativeEnumerated.c:95)
Decoded preambleInitialReceivedTargetPower = 8 (NativeEnumerated.c:123) Decoding member ra-SupervisionInfo in RACH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding ra-SupervisionInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member preambleTransMax in ra-SupervisionInfo (constr_SEQUENCE.c:1120) Decoding PreambleTransMax as NativeEnumerated (NativeEnumerated.c:95)
Decoded PreambleTransMax = 6 (NativeEnumerated.c:123) Decoding member ra-ResponseWindowSize in ra-SupervisionInfo (constr_SEQUENCE.c:1120) Decoding ra-ResponseWindowSize as NativeEnumerated (NativeEnumerated.c:95)
Decoded ra-ResponseWindowSize = 7 (NativeEnumerated.c:123) Decoding member mac-ContentionResolutionTimer in ra-SupervisionInfo (constr_SEQUENCE.c:1120) Decoding mac-ContentionResolutionTimer as NativeEnumerated (NativeEnumerated.c:95)
Decoded mac-ContentionResolutionTimer = 7 (NativeEnumerated.c:123) Decoding member maxHARQ-Msg3Tx in RACH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 4 + low 1 (INTEGER.c:622) NativeInteger INTEGER got value 5 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member bcch-Config in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding BCCH-Config as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member modificationPeriodCoeff in BCCH-Config (constr_SEQUENCE.c:1120) Decoding modificationPeriodCoeff as NativeEnumerated (NativeEnumerated.c:95)
Decoded modificationPeriodCoeff = 0 (NativeEnumerated.c:123) Decoding member pcch-Config in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding PCCH-Config as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member defaultPagingCycle in PCCH-Config (constr_SEQUENCE.c:1120) Decoding defaultPagingCycle as NativeEnumerated (NativeEnumerated.c:95)
Decoded defaultPagingCycle = 2 (NativeEnumerated.c:123) Decoding member nB in PCCH-Config (constr_SEQUENCE.c:1120) Decoding nB as NativeEnumerated (NativeEnumerated.c:95)
Decoded nB = 2 (NativeEnumerated.c:123) Decoding member prach-Config in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding PRACH-ConfigSIB as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member rootSequenceIndex in PRACH-ConfigSIB (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 10 bits (INTEGER.c:601)
Got value 184 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 184 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member prach-ConfigInfo in PRACH-ConfigSIB (constr_SEQUENCE.c:1120) Decoding PRACH-ConfigInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member prach-ConfigIndex in PRACH-ConfigInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 6 bits (INTEGER.c:601)
Got value 5 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 5 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member highSpeedFlag in PRACH-ConfigInfo (constr_SEQUENCE.c:1120)
BOOLEAN decoded as FALSE (BOOLEAN.c:260) Decoding member zeroCorrelationZoneConfig in PRACH-ConfigInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 4 bits (INTEGER.c:601)
Got value 11 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 11 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member prach-FreqOffset in PRACH-ConfigInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 7 bits (INTEGER.c:601)
Got value 5 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 5 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member pdsch-ConfigCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding PDSCH-ConfigCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member referenceSignalPower in PDSCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 7 bits (INTEGER.c:601)
Got value 78 + low -60 (INTEGER.c:622) NativeInteger INTEGER got value 18 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member p-b in PDSCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 2 bits (INTEGER.c:601)
Got value 1 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 1 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member pusch-ConfigCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding PUSCH-ConfigCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member pusch-ConfigBasic in PUSCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding pusch-ConfigBasic as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member n-SB in pusch-ConfigBasic (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 2 bits (INTEGER.c:601)
Got value 3 + low 1 (INTEGER.c:622) NativeInteger INTEGER got value 4 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member hoppingMode in pusch-ConfigBasic (constr_SEQUENCE.c:1120) Decoding hoppingMode as NativeEnumerated (NativeEnumerated.c:95)
Decoded hoppingMode = 0 (NativeEnumerated.c:123) Decoding member pusch-HoppingOffset in pusch-ConfigBasic (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 7 bits (INTEGER.c:601)
Got value 22 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 22 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member enable64QAM in pusch-ConfigBasic (constr_SEQUENCE.c:1120)
BOOLEAN decoded as TRUE (BOOLEAN.c:260) Decoding member ul-ReferenceSignalsPUSCH in PUSCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding UL-ReferenceSignalsPUSCH as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member groupHoppingEnabled in UL-ReferenceSignalsPUSCH (constr_SEQUENCE.c:1120)
BOOLEAN decoded as FALSE (BOOLEAN.c:260) Decoding member groupAssignmentPUSCH in UL-ReferenceSignalsPUSCH (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 0 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 0 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member sequenceHoppingEnabled in UL-ReferenceSignalsPUSCH (constr_SEQUENCE.c:1120)
BOOLEAN decoded as FALSE (BOOLEAN.c:260) Decoding member cyclicShift in UL-ReferenceSignalsPUSCH (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 0 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 0 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member pucch-ConfigCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding PUCCH-ConfigCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member deltaPUCCH-Shift in PUCCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding deltaPUCCH-Shift as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaPUCCH-Shift = 1 (NativeEnumerated.c:123) Decoding member nRB-CQI in PUCCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 7 bits (INTEGER.c:601)
Got value 2 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 2 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member nCS-AN in PUCCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 0 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 0 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member n1PUCCH-AN in PUCCH-ConfigCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 11 bits (INTEGER.c:601)
Got value 10 + low 0 (INTEGER.c:622) NativeInteger INTEGER got value 10 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member soundingRS-UL-ConfigCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120)
CHOICE SoundingRS-UL-ConfigCommon got index 1 in range 1 (constr_CHOICE.c:864) Discovered CHOICE SoundingRS-UL-ConfigCommon encodes setup (constr_CHOICE.c:892) Decoding setup as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for setup of 1 bits (0..) (constr_SEQUENCE.c:1073) Decoding member srs-BandwidthConfig in setup (constr_SEQUENCE.c:1120) Decoding srs-BandwidthConfig as NativeEnumerated (NativeEnumerated.c:95)
Decoded srs-BandwidthConfig = 3 (NativeEnumerated.c:123) Decoding member srs-SubframeConfig in setup (constr_SEQUENCE.c:1120) Decoding srs-SubframeConfig as NativeEnumerated (NativeEnumerated.c:95)
Decoded srs-SubframeConfig = 7 (NativeEnumerated.c:123) Decoding member ackNackSRS-SimultaneousTransmission in setup (constr_SEQUENCE.c:1120)
BOOLEAN decoded as TRUE (BOOLEAN.c:260)
Member setup->srs-MaxUpPts is optional, p=0 (1->1) (constr_SEQUENCE.c:1102) Decoding member uplinkPowerControlCommon in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding UplinkPowerControlCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member p0-NominalPUSCH in UplinkPowerControlCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 8 bits (INTEGER.c:601)
Got value 59 + low -126 (INTEGER.c:622) NativeInteger INTEGER got value -67 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member alpha in UplinkPowerControlCommon (constr_SEQUENCE.c:1120) Decoding Alpha-r12 as NativeEnumerated (NativeEnumerated.c:95)
Decoded Alpha-r12 = 4 (NativeEnumerated.c:123) Decoding member p0-NominalPUCCH in UplinkPowerControlCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 22 + low -127 (INTEGER.c:622) NativeInteger INTEGER got value -105 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member deltaFList-PUCCH in UplinkPowerControlCommon (constr_SEQUENCE.c:1120) Decoding DeltaFList-PUCCH as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member deltaF-PUCCH-Format1 in DeltaFList-PUCCH (constr_SEQUENCE.c:1120) Decoding deltaF-PUCCH-Format1 as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaF-PUCCH-Format1 = 1 (NativeEnumerated.c:123) Decoding member deltaF-PUCCH-Format1b in DeltaFList-PUCCH (constr_SEQUENCE.c:1120) Decoding deltaF-PUCCH-Format1b as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaF-PUCCH-Format1b = 1 (NativeEnumerated.c:123) Decoding member deltaF-PUCCH-Format2 in DeltaFList-PUCCH (constr_SEQUENCE.c:1120) Decoding deltaF-PUCCH-Format2 as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaF-PUCCH-Format2 = 2 (NativeEnumerated.c:123) Decoding member deltaF-PUCCH-Format2a in DeltaFList-PUCCH (constr_SEQUENCE.c:1120) Decoding deltaF-PUCCH-Format2a as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaF-PUCCH-Format2a = 2 (NativeEnumerated.c:123) Decoding member deltaF-PUCCH-Format2b in DeltaFList-PUCCH (constr_SEQUENCE.c:1120) Decoding deltaF-PUCCH-Format2b as NativeEnumerated (NativeEnumerated.c:95)
Decoded deltaF-PUCCH-Format2b = 2 (NativeEnumerated.c:123) Decoding member deltaPreambleMsg3 in UplinkPowerControlCommon (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 5 + low -1 (INTEGER.c:622) NativeInteger INTEGER got value 4 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member ul-CyclicPrefixLength in RadioResourceConfigCommonSIB (constr_SEQUENCE.c:1120) Decoding UL-CyclicPrefixLength as NativeEnumerated (NativeEnumerated.c:95)
Decoded UL-CyclicPrefixLength = 0 (NativeEnumerated.c:123) Decoding member ue-TimersAndConstants in SystemInformationBlockType2 (constr_SEQUENCE.c:1120) Decoding UE-TimersAndConstants as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member t300 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding t300 as NativeEnumerated (NativeEnumerated.c:95)
Decoded t300 = 1 (NativeEnumerated.c:123) Decoding member t301 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding t301 as NativeEnumerated (NativeEnumerated.c:95)
Decoded t301 = 1 (NativeEnumerated.c:123) Decoding member t310 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding t310 as NativeEnumerated (NativeEnumerated.c:95)
Decoded t310 = 5 (NativeEnumerated.c:123) Decoding member n310 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding n310 as NativeEnumerated (NativeEnumerated.c:95)
Decoded n310 = 6 (NativeEnumerated.c:123) Decoding member t311 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding t311 as NativeEnumerated (NativeEnumerated.c:95)
Decoded t311 = 3 (NativeEnumerated.c:123) Decoding member n311 in UE-TimersAndConstants (constr_SEQUENCE.c:1120) Decoding n311 as NativeEnumerated (NativeEnumerated.c:95)
Decoded n311 = 0 (NativeEnumerated.c:123) Decoding member freqInfo in SystemInformationBlockType2 (constr_SEQUENCE.c:1120) Decoding freqInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for freqInfo of 2 bits (40..) (constr_SEQUENCE.c:1073)
Member freqInfo->ul-CarrierFreq is optional, p=0 (1->2) (constr_SEQUENCE.c:1102)
Member freqInfo->ul-Bandwidth is optional, p=1 (2->2) (constr_SEQUENCE.c:1102) Decoding member ul-Bandwidth in freqInfo (constr_SEQUENCE.c:1120) Decoding ul-Bandwidth as NativeEnumerated (NativeEnumerated.c:95)
Decoded ul-Bandwidth = 3 (NativeEnumerated.c:123) Decoding member additionalSpectrumEmission in freqInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger AdditionalSpectrumEmission (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 0 + low 1 (INTEGER.c:622) NativeInteger AdditionalSpectrumEmission got value 1 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Member SystemInformationBlockType2->mbsfn-SubframeConfigList is optional, p=0 (2->2) (constr_SEQUENCE.c:1102) Decoding member timeAlignmentTimerCommon in SystemInformationBlockType2 (constr_SEQUENCE.c:1120) Decoding TimeAlignmentTimer as NativeEnumerated (NativeEnumerated.c:95)
Decoded TimeAlignmentTimer = 6 (NativeEnumerated.c:123) sib-TypeAndInfo SET OF CHOICE decoded 0, 0x1a5d440 (constr_SET_OF.c:928) SET OF CHOICE decoding (constr_SET_OF.c:924)
CHOICE CHOICE got index 1 in range 4 (constr_CHOICE.c:864) Discovered CHOICE CHOICE encodes sib3 (constr_CHOICE.c:892) Decoding SystemInformationBlockType3 as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Decoding member cellReselectionInfoCommon in SystemInformationBlockType3 (constr_SEQUENCE.c:1120) Decoding cellReselectionInfoCommon as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for cellReselectionInfoCommon of 1 bits (80..) (constr_SEQUENCE.c:1073) Decoding member q-Hyst in cellReselectionInfoCommon (constr_SEQUENCE.c:1120) Decoding q-Hyst as NativeEnumerated (NativeEnumerated.c:95)
Decoded q-Hyst = 6 (NativeEnumerated.c:123)
Member cellReselectionInfoCommon->speedStateReselectionPars is optional, p=1 (1->1) (constr_SEQUENCE.c:1102) Decoding member speedStateReselectionPars in cellReselectionInfoCommon (constr_SEQUENCE.c:1120) Decoding speedStateReselectionPars as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member mobilityStateParameters in speedStateReselectionPars (constr_SEQUENCE.c:1120) Decoding MobilityStateParameters as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member t-Evaluation in MobilityStateParameters (constr_SEQUENCE.c:1120) Decoding t-Evaluation as NativeEnumerated (NativeEnumerated.c:95)
Decoded t-Evaluation = 1 (NativeEnumerated.c:123) Decoding member t-HystNormal in MobilityStateParameters (constr_SEQUENCE.c:1120) Decoding t-HystNormal as NativeEnumerated (NativeEnumerated.c:95)
Decoded t-HystNormal = 0 (NativeEnumerated.c:123) Decoding member n-CellChangeMedium in MobilityStateParameters (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 4 bits (INTEGER.c:601)
Got value 3 + low 1 (INTEGER.c:622) NativeInteger INTEGER got value 4 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member n-CellChangeHigh in MobilityStateParameters (constr_SEQUENCE.c:1120) Decoding NativeInteger INTEGER (UPER) (NativeInteger.c:246) Integer with range 4 bits (INTEGER.c:601)
Got value 7 + low 1 (INTEGER.c:622) NativeInteger INTEGER got value 8 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member q-HystSF in speedStateReselectionPars (constr_SEQUENCE.c:1120) Decoding q-HystSF as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member sf-Medium in q-HystSF (constr_SEQUENCE.c:1120) Decoding sf-Medium as NativeEnumerated (NativeEnumerated.c:95)
Decoded sf-Medium = 3 (NativeEnumerated.c:123) Decoding member sf-High in q-HystSF (constr_SEQUENCE.c:1120) Decoding sf-High as NativeEnumerated (NativeEnumerated.c:95)
Decoded sf-High = 3 (NativeEnumerated.c:123) Decoding member cellReselectionServingFreqInfo in SystemInformationBlockType3 (constr_SEQUENCE.c:1120) Decoding cellReselectionServingFreqInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for cellReselectionServingFreqInfo of 1 bits (80..) (constr_SEQUENCE.c:1073)
Member cellReselectionServingFreqInfo->s-NonIntraSearch is optional, p=1 (1->1) (constr_SEQUENCE.c:1102) Decoding member s-NonIntraSearch in cellReselectionServingFreqInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger ReselectionThreshold (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 9 + low 0 (INTEGER.c:622) NativeInteger ReselectionThreshold got value 9 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member threshServingLow in cellReselectionServingFreqInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger ReselectionThreshold (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 7 + low 0 (INTEGER.c:622) NativeInteger ReselectionThreshold got value 7 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member cellReselectionPriority in cellReselectionServingFreqInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger CellReselectionPriority (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 7 + low 0 (INTEGER.c:622) NativeInteger CellReselectionPriority got value 7 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125) Decoding member intraFreqCellReselectionInfo in SystemInformationBlockType3 (constr_SEQUENCE.c:1120) Decoding intraFreqCellReselectionInfo as SEQUENCE (UPER) (constr_SEQUENCE.c:1050)
Read in presence bitmap for intraFreqCellReselectionInfo of 4 bits (50..) (constr_SEQUENCE.c:1073) Decoding member q-RxLevMin in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger Q-RxLevMin (UPER) (NativeInteger.c:246) Integer with range 6 bits (INTEGER.c:601)
Got value 6 + low -70 (INTEGER.c:622) NativeInteger Q-RxLevMin got value -64 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Member intraFreqCellReselectionInfo->p-Max is optional, p=0 (1->4) (constr_SEQUENCE.c:1102)
Member intraFreqCellReselectionInfo->s-IntraSearch is optional, p=1 (2->4) (constr_SEQUENCE.c:1102) Decoding member s-IntraSearch in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger ReselectionThreshold (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 29 + low 0 (INTEGER.c:622) NativeInteger ReselectionThreshold got value 29 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Member intraFreqCellReselectionInfo->allowedMeasBandwidth is optional, p=0 (3->4) (constr_SEQUENCE.c:1102) Decoding member presenceAntennaPort1 in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120)
PresenceAntennaPort1 decoded as FALSE (BOOLEAN.c:260) Decoding member neighCellConfig in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120) PER Decoding non-extensible size 2 .. 2 bits 0 (OCTET_STRING.c:1397) Encoding BIT STRING size 2 (OCTET_STRING.c:1434)
Decoding member t-ReselectionEUTRA in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120) Decoding NativeInteger T-Reselection (UPER) (NativeInteger.c:246) Integer with range 3 bits (INTEGER.c:601)
Got value 1 + low 0 (INTEGER.c:622) NativeInteger T-Reselection got value 1 (NativeInteger.c:263) Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Member intraFreqCellReselectionInfo->t-ReselectionEUTRA-SF is optional, p=1 (4->4) (constr_SEQUENCE.c:1102) Decoding member t-ReselectionEUTRA-SF in intraFreqCellReselectionInfo (constr_SEQUENCE.c:1120) Decoding SpeedStateScaleFactors as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member sf-Medium in SpeedStateScaleFactors (constr_SEQUENCE.c:1120) Decoding sf-Medium as NativeEnumerated (NativeEnumerated.c:95)
Decoded sf-Medium = 3 (NativeEnumerated.c:123) Decoding member sf-High in SpeedStateScaleFactors (constr_SEQUENCE.c:1120) Decoding sf-High as NativeEnumerated (NativeEnumerated.c:95)
Decoded sf-High = 2 (NativeEnumerated.c:123) Getting normally small length (per_support.c:199)
l=2 (per_support.c:204) Extensions 2 present in SystemInformationBlockType3 (constr_SEQUENCE.c:1145)
Read in extensions bitmap for SystemInformationBlockType3 of 2 bits (40..) (constr_SEQUENCE.c:1158)
Decoding member s-IntraSearch-v920 in SystemInformationBlockType3 (nil) (constr_SEQUENCE.c:1186) Getting open type s-IntraSearch-v920... (per_opentype.c:70)
Getting open type s-IntraSearch-v920 encoded in 4 bytes (per_opentype.c:96) Decoding s-IntraSearch-v920 as SEQUENCE (UPER) (constr_SEQUENCE.c:1050) Decoding member s-IntraSearchP-r9 in s-IntraSearch-v920 (constr_SEQUENCE.c:1120) Decoding NativeInteger ReselectionThreshold (UPER) (NativeInteger.c:246) Integer with range 5 bits (INTEGER.c:601)
Got value 29 + low 0 (INTEGER.c:622)
NativeInteger ReselectionThreshold got value 29 (NativeInteger.c:263)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Decoding member s-IntraSearchQ-r9 in s-IntraSearch-v920 (constr_SEQUENCE.c:1120)
Decoding NativeInteger ReselectionThresholdQ-r9 (UPER) (NativeInteger.c:246)
Integer with range 5 bits (INTEGER.c:601)
[PER got 5<=27 bits => span 10 +0[10..32]:ee (22) => 0x1a](per_support.c:114)
Got value 26 + low 0 (INTEGER.c:622)
NativeInteger ReselectionThresholdQ-r9 got value 26 (NativeInteger.c:263)
Freeing INTEGER as a primitive type (asn_codecs_prim.c:125)
Too large padding 22 in open type (per_opentype.c:119) Failed to decode element s-IntraSearch-v920 (per_opentype.c:120) Failed to decode sib3 in CHOICE (CHOICE) 2 (constr_CHOICE.c:904)
sib-TypeAndInfo SET OF CHOICE decoded 2, 0x1a5d990 (constr_SET_OF.c:928) Failed decoding CHOICE of sib-TypeAndInfo (SET OF) (constr_SET_OF.c:938) Freeing CHOICE as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformationBlockType3 as SEQUENCE (constr_SEQUENCE.c:957) Freeing cellReselectionInfoCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing q-Hyst as INTEGER (1, 0x1a5d998, Native) (NativeInteger.c:326) Freeing speedStateReselectionPars as SEQUENCE (constr_SEQUENCE.c:957) Freeing MobilityStateParameters as SEQUENCE (constr_SEQUENCE.c:957) Freeing t-Evaluation as INTEGER (1, 0x1a5ddd0, Native) (NativeInteger.c:326) Freeing t-HystNormal as INTEGER (1, 0x1a5ddd8, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5dde0, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5dde8, Native) (NativeInteger.c:326) Freeing q-HystSF as SEQUENCE (constr_SEQUENCE.c:957) Freeing sf-Medium as INTEGER (1, 0x1a5de08, Native) (NativeInteger.c:326) Freeing sf-High as INTEGER (1, 0x1a5de10, Native) (NativeInteger.c:326) Freeing cellReselectionServingFreqInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing ReselectionThreshold as INTEGER (0, 0x1a5d900, Native) (NativeInteger.c:326) Freeing ReselectionThreshold as INTEGER (1, 0x1a5d9c8, Native) (NativeInteger.c:326) Freeing CellReselectionPriority as INTEGER (1, 0x1a5d9d0, Native) (NativeInteger.c:326) Freeing intraFreqCellReselectionInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing Q-RxLevMin as INTEGER (1, 0x1a5d9f0, Native) (NativeInteger.c:326) Freeing ReselectionThreshold as INTEGER (0, 0x1a5d920, Native) (NativeInteger.c:326) Freeing NeighCellConfig as OCTET STRING (OCTET_STRING.c:1725) Freeing T-Reselection as INTEGER (1, 0x1a5da40, Native) (NativeInteger.c:326) Freeing SpeedStateScaleFactors as SEQUENCE (constr_SEQUENCE.c:957) Freeing sf-Medium as INTEGER (1, 0x1a5de90, Native) (NativeInteger.c:326) Freeing sf-High as INTEGER (1, 0x1a5de98, Native) (NativeInteger.c:326) Freeing s-IntraSearch-v920 as SEQUENCE (constr_SEQUENCE.c:957) Freeing ReselectionThreshold as INTEGER (1, 0x1a5dec0, Native) (NativeInteger.c:326) Freeing ReselectionThresholdQ-r9 as INTEGER (1, 0x1a5dec8, Native) (NativeInteger.c:326) Failed decode sib-TypeAndInfo in SystemInformation-r8-IEs (constr_SEQUENCE.c:1125) Failed to decode systemInformation-r8 in criticalExtensions (CHOICE) 2 (constr_CHOICE.c:904) Failed decode criticalExtensions in SystemInformation (constr_SEQUENCE.c:1125) Failed to decode systemInformation in c1 (CHOICE) 2 (constr_CHOICE.c:904) Failed to decode c1 in BCCH-DL-SCH-MessageType (CHOICE) 2 (constr_CHOICE.c:904) Failed decode message in BCCH-DL-SCH-Message (constr_SEQUENCE.c:1125) AD: decode(0) consumed 0+0b (49), code 2 AD: Clean up partially decoded structure Freeing BCCH-DL-SCH-Message as SEQUENCE (constr_SEQUENCE.c:957) Freeing BCCH-DL-SCH-MessageType as CHOICE (constr_CHOICE.c:1041) Freeing c1 as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformation as SEQUENCE (constr_SEQUENCE.c:957) Freeing criticalExtensions as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformation-r8-IEs as SEQUENCE (constr_SEQUENCE.c:957) Freeing CHOICE as CHOICE (constr_CHOICE.c:1041) Freeing SystemInformationBlockType2 as SEQUENCE (constr_SEQUENCE.c:957) Freeing RadioResourceConfigCommonSIB as SEQUENCE (constr_SEQUENCE.c:957) Freeing RACH-ConfigCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing preambleInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing numberOfRA-Preambles as INTEGER (1, 0x1a5d450, Native) (NativeInteger.c:326) Freeing preamblesGroupAConfig as SEQUENCE (constr_SEQUENCE.c:957) Freeing sizeOfRA-PreamblesGroupA as INTEGER (1, 0x1a5d8c0, Native) (NativeInteger.c:326) Freeing messageSizeGroupA as INTEGER (1, 0x1a5d8c8, Native) (NativeInteger.c:326) Freeing messagePowerOffsetGroupB as INTEGER (1, 0x1a5d8d0, Native) (NativeInteger.c:326) Freeing PowerRampingParameters as SEQUENCE (constr_SEQUENCE.c:957) Freeing powerRampingStep as INTEGER (1, 0x1a5d478, Native) (NativeInteger.c:326) Freeing preambleInitialReceivedTargetPower as INTEGER (1, 0x1a5d480, Native) (NativeInteger.c:326) Freeing ra-SupervisionInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing PreambleTransMax as INTEGER (1, 0x1a5d4a0, Native) (NativeInteger.c:326) Freeing ra-ResponseWindowSize as INTEGER (1, 0x1a5d4a8, Native) (NativeInteger.c:326) Freeing mac-ContentionResolutionTimer as INTEGER (1, 0x1a5d4b0, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d4d0, Native) (NativeInteger.c:326) Freeing BCCH-Config as SEQUENCE (constr_SEQUENCE.c:957) Freeing modificationPeriodCoeff as INTEGER (1, 0x1a5d4f0, Native) (NativeInteger.c:326) Freeing PCCH-Config as SEQUENCE (constr_SEQUENCE.c:957) Freeing defaultPagingCycle as INTEGER (1, 0x1a5d510, Native) (NativeInteger.c:326) Freeing nB as INTEGER (1, 0x1a5d518, Native) (NativeInteger.c:326) Freeing PRACH-ConfigSIB as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d538, Native) (NativeInteger.c:326) Freeing PRACH-ConfigInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d540, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d550, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d558, Native) (NativeInteger.c:326) Freeing PDSCH-ConfigCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d590, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d598, Native) (NativeInteger.c:326) Freeing PUSCH-ConfigCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing pusch-ConfigBasic as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d5b8, Native) (NativeInteger.c:326) Freeing hoppingMode as INTEGER (1, 0x1a5d5c0, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d5c8, Native) (NativeInteger.c:326) Freeing UL-ReferenceSignalsPUSCH as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d5f8, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d608, Native) (NativeInteger.c:326) Freeing PUCCH-ConfigCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing deltaPUCCH-Shift as INTEGER (1, 0x1a5d640, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d648, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d650, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d658, Native) (NativeInteger.c:326) Freeing SoundingRS-UL-ConfigCommon as CHOICE (constr_CHOICE.c:1041) Freeing setup as SEQUENCE (constr_SEQUENCE.c:957) Freeing srs-BandwidthConfig as INTEGER (1, 0x1a5d680, Native) (NativeInteger.c:326) Freeing srs-SubframeConfig as INTEGER (1, 0x1a5d688, Native) (NativeInteger.c:326) Freeing UplinkPowerControlCommon as SEQUENCE (constr_SEQUENCE.c:957) Freeing INTEGER as INTEGER (1, 0x1a5d6d0, Native) (NativeInteger.c:326) Freeing Alpha-r12 as INTEGER (1, 0x1a5d6d8, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d6e0, Native) (NativeInteger.c:326) Freeing DeltaFList-PUCCH as SEQUENCE (constr_SEQUENCE.c:957) Freeing deltaF-PUCCH-Format1 as INTEGER (1, 0x1a5d6e8, Native) (NativeInteger.c:326) Freeing deltaF-PUCCH-Format1b as INTEGER (1, 0x1a5d6f0, Native) (NativeInteger.c:326) Freeing deltaF-PUCCH-Format2 as INTEGER (1, 0x1a5d6f8, Native) (NativeInteger.c:326) Freeing deltaF-PUCCH-Format2a as INTEGER (1, 0x1a5d700, Native) (NativeInteger.c:326) Freeing deltaF-PUCCH-Format2b as INTEGER (1, 0x1a5d708, Native) (NativeInteger.c:326) Freeing INTEGER as INTEGER (1, 0x1a5d728, Native) (NativeInteger.c:326) Freeing UL-CyclicPrefixLength as INTEGER (1, 0x1a5d748, Native) (NativeInteger.c:326) Freeing UE-TimersAndConstants as SEQUENCE (constr_SEQUENCE.c:957) Freeing t300 as INTEGER (1, 0x1a5d778, Native) (NativeInteger.c:326) Freeing t301 as INTEGER (1, 0x1a5d780, Native) (NativeInteger.c:326) Freeing t310 as INTEGER (1, 0x1a5d788, Native) (NativeInteger.c:326) Freeing n310 as INTEGER (1, 0x1a5d790, Native) (NativeInteger.c:326) Freeing t311 as INTEGER (1, 0x1a5d798, Native) (NativeInteger.c:326) Freeing n311 as INTEGER (1, 0x1a5d7a0, Native) (NativeInteger.c:326) Freeing freqInfo as SEQUENCE (constr_SEQUENCE.c:957) Freeing ul-Bandwidth as INTEGER (0, 0x1a5d8a0, Native) (NativeInteger.c:326) Freeing AdditionalSpectrumEmission as INTEGER (1, 0x1a5d7d0, Native) (NativeInteger.c:326) Freeing TimeAlignmentTimer as INTEGER (1, 0x1a5d7f8, Native) (NativeInteger.c:326) AD: ofp 1, no=0, oo=0, dbl=0 /home/user/bcch-dl-sch.uper: Decode failed past byte 0: Input processing error
It decodes SIB2 but fails at SIB3.
Using ASN.1 from https://anonsvn.wireshark.org/wireshark/trunk/asn1/lte-rrc/EUTRA-RRC-Definitions.asn I generate file for the converter (with -gen-PER and -fcompound-names flags), then build converter sample with:
I try to decode data:
(binary file here: https://www.dropbox.com/s/o13dyoff18y0xnu/bcch-dl-sch.per?dl=0) by executing the resulting progname. I'm getting:
I investigated it a bit, and it fails in per_get_few_bits(), trying to read from data that has zero bits left. Stack at that point looks like:
So it looks like it tries to decode SIB17, however when I use http://www.marben-products.com/cgi-bin/asn1tools/free-online-asn1-decoder.pl (direct input), I get valid SIB2 and SIB3. It looks like per_get_few_bits has read only 25 bits out of the 64-bit file. Could you help investigate whether the problem is in asn1c or the EUTRA-RRC-Definitions.asn code?